• Resolved magicalwonders

    (@magicalwonders)


    I’m having problems including custom text in the customer-completed-order.php file.

    I’ve tried including the following line – <p><?php print "Thank you for shopping at Store Name. If you have any questions regarding this order, or would like more details of any of our other products, please email us at [email protected]" ); ?></p> but it returns a syntax error.

    I’ve also tried – <p><?php printf( __( "Thank you for shopping etc., but it doesn’t like that either.

    Can anyone point me in the direction for the correct format of including text in WooCommerce emails please?

    Many thanks,

    Myles

    https://www.ads-software.com/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • Thread Starter magicalwonders

    (@magicalwonders)

    It’s ok, I found the issue. I had a closing bracket left in the statement! I’ve corrected the issue! ??

    Myles

Viewing 1 replies (of 1 total)
  • The topic ‘Parse error: syntax error for Custom email’ is closed to new replies.