Populate Woocommerce short_description field with other fields
I need to populate the short_description field with data saved in other fields/custom product attributes.
One tricky part is that the short_description field (which comes from the post excerpt I believe) needs to be updated in the database.
Why? Because I’m exporting products to a Facebook shop (using Facebook for Woocommerce plugin) and the only info available (apart from price/title) comes from this field.
This thread seems to indicate how to update and save data in this field, but I don’t know where to put this code. Would help to know how to use this in functions.php
How to change / delete product short description in Woocommerce
Leave an answer