• I’ve added text to the Description field in variations of a product, and I need to include that along with each Product Name in the Order Completed email that goes to my customers. I’ve spent DAYS trying to get this to work, either with something in functions.php of my child theme or in the email template but I cannot find the specific hook or call for it. Can someone help?

    It should be so simple; I need to see this in the “Completed” receipt:

    Product
    [name of product]
    Details: [contents of “description” field from product variation]

    (the contents of the field will contain HTML)

    I’ve found many pieces of code that have helped others in the past, but they are all from many years and versions of Woo ago (including references to deprecated hooks).

    Thanks all!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi there ??

    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.

    I can also recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.

    You can also visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

    Cheers!

    Thread Starter hot ham water

    (@scwtenor)

    Thanks, it’s weird (and frustrating). Is there not a simple hook or API call for the description field in a product variation? that could be stuck into the Confirmed email template? It doesn’t even need to be within the order table, it could be at the top under the header.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘add “description” from variable product variation to “Completed” email’ is closed to new replies.