How to display/hide desired attributes in Woocommerce email order
-
At present, my email order displaying all the attributes which are there on the product page. However, I only want to display some attributes like color and delivery.
/templates/emails/email-order-items.php
Here is the code… What changes do I have to do?// Variation if ( $item_meta->meta ) { echo '<br/><small>' . nl2br( $item_meta->display( true, true ) ) . '</small>'; }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to display/hide desired attributes in Woocommerce email order’ is closed to new replies.