1) I think that your problem could be that the WooCommerce templates in your child theme “Tower-Child” are may be outdated: wp-content/themes/Tower-Child/…
To be sure, in backend WP settings, go in “Woocommerce” > “System status” (or “Status”). At the end of the page, check in the “Templates” meta-box.
2) That also can mean that emails/customer-completed-order.php
template has been customized and you will need to solve this bug at line 28.
As reference: Template Structure + Overriding Templates via a Theme
Thank you – I am contacting my theme support to see if they can help. I did customize the email and have it saved under my child theme. Line 28 reads:
“<p><?php printf( __( “Hello – we wanted to let you know that your recent order on %s has been completed. When you receive your order, please”
Can you see the error? The full section of code is:
“<p><?php printf( __( “Hello – we wanted to let you know that your recent order on %s has been completed. When you receive your order, please take a second to rate the products at http://www.lavenderconnection.com, and we’ll send you a coupon code for 10% off your next purchase! We sincerely value your feedback. Thank you for your business, and we hope to see you again soon! Your order details are shown below for your reference:”, ‘woocommerce’ ), get_option( ‘blogname’ ) ); ?></p>”
The problem come from 10%
in your text using printf()
php function.
You need to escape %
character with a second one this way: 10%%
This will avoid the error
So your code will be:
<p><?php printf( __( "Hello – we wanted to let you know that your recent order on %s has been completed. When you receive your order, please take a second to rate the products at http://www.lavenderconnection.com, and we’ll send you a coupon code for 10%% off your next purchase! We sincerely value your feedback. Thank you for your business, and we hope to see you again soon! Your order details are shown below for your reference:", "woocommerce" ), get_option( 'blogname' ) ); ?></p>
Cheers
(don’t forget to mark this thread as solved)
Thank you! That worked perfectly.