Adding product name and price in agreement text
-
Hello,
I have added some agreement text below the Customer Order notification email but I need to insert the product name and price into the text so I am modifying the customer-processing-order.php file. However I cannot find a way to add the purchased product name(s).
email-order-items.php generates and inserts the data into a table but I cannot not get the information into the text in the email.// Product name echo apply_filters( 'woocommerce_order_item_name', $item['name'], $item, false );
Adding the code above wont print the product name in the agreement text I have added.
Can someone give me a hint?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Adding product name and price in agreement text’ is closed to new replies.