Support » Plugin: Custom Product Tabs for WooCommerce » Add tabs data to Woocommerce Email

  • Resolved vidhugoel

    (@vidhugoel)


    Hi, I have added the custom tab to my product page. I want to display the data of the custom product tab in the Woocommerce Email of only ‘New Order’ inside order details table for every item purchased. How can I do so?

Viewing 1 replies (of 1 total)
  • Plugin Author jpowersdev

    (@jpowersdev)

    Hi @vidhugoel,

    That functionality isn’t part of the plugin but can be accomplished using code.

    Something like get_post_meta( $product_id, 'yikes_woo_products_tabs', true ) will get you the list of tabs assigned to a product. Then it’s just a matter of parsing that information and displaying it in your email template.

    Let me know if you have any questions,

    Jon

Viewing 1 replies (of 1 total)
  • The topic ‘Add tabs data to Woocommerce Email’ is closed to new replies.