• Resolved thedutchcow

    (@thedutchcow)


    Dear all,
    It appears that some unnecessary text is being placed on the bottom of each order confirmation “Over to you”. This Over to you text is being replaced in other languages as well and I am very curious how this remove this specific piece of text because it is of absolutely no value to anyone whatsoever.

Viewing 6 replies - 1 through 6 (of 6 total)
  • I have the same issue. It seems that this was added after October 22 to the file admin-new-order.php which can be found in woocommerce/emails/.

    The code adding the text: <p><?php esc_html_e( ‘Over to you.’, ‘woocommerce’ ); ?></p>

    It does not do any harm I guess but what is the purpose from WooCommerce to add this snippet?

    Thanks

    Dale

    Thread Starter thedutchcow

    (@thedutchcow)

    Hi Dale, I have copied the original files (.php) to my theme map and than edited the files. I am going to test it in a short while and will let you know, ok?

    Thread Starter thedutchcow

    (@thedutchcow)

    Hi Dale,
    Here are the steps:

    1. Locate the directory of your default Woocommerce e-mail templates, e.g.
    /public_html/wp-content/plugins/woocommerce/templates/emails

    2. Copy these to the given directory of your theme, e.g. Enfold uses:
    /public_html/wp-content/themes/enfold/woocommerce/emails

    Now you can edit your custom e-mails from
    https://WWW.YOURWEBSITEORWEBSHOP.COM/wp-admin/admin.php?page=wc-settings&tab=email&section=wc_email_customer_completed_order

    • This reply was modified 6 years, 1 month ago by thedutchcow.

    Thanks a lot !!!

    But I still do not get why WooCommerce has added the code snippet. Maybe an annoyed coder? ??

    Thanks again and have a great day !

    Thread Starter thedutchcow

    (@thedutchcow)

    Hi Dale,
    You are welcome. It took me some reading but these are the easiest steps to take. I have no clue why someone would add such jibberish to any template.

    Plugin Support Yuki K a11n.

    (@yukikatayama)

    Automattic Happiness Engineer

    Hi all, thanks for bringing this up. We have an open issue about it here: https://github.com/woocommerce/woocommerce/issues/21698.

    I’ll close this for now. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[3.5.0] Weird text on bottom of order confirmation’ is closed to new replies.