0

I'm customizing some woocommrce files, which need to get woocommrce $email->id,

i checked on main email templates like customer-completed-order.php which have $email object

but in email-order-items.php can't access $email object to get it's id.

I'm willing to use that for add some conditional data alone with product name

if(($email->id=='customer_completed_order')){

}

is there a way to access that or is there have a alternative to add some contents after order item names for specific emails only ex- order complete email

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.