Email Template Customizations
-
Hi,
Since a plugin update the email templates stopped being customized. File names changed. Not sure what else.
In the latest version simply want to add some order info. This throws an error.
<?php echo '<p>'; echo 'Email: ' . esc_html( $order->get_billing_enail() ) . '<br />'; echo 'Phone: ' . esc_html( $order->get_billing_phone() ) . '<br />'; echo 'Country: ' . esc_html( $order->get_billing_country() ) .'<br />'; echo 'State: ' . esc_html( $order->get_billing_state()) . '<br />'; echo 'Company: ' . esc_html( $order->get_billing_company() ) . '<br />'; echo 'Notes: ' . esc_html( $order->get_billing_note() ) . '<br />'; echo '</p>'; ?>
$order in my phpstorm says it is not an object but is used in the email. I think this is a global?
thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Email Template Customizations’ is closed to new replies.