• Resolved budzburn

    (@budzburn)


    Hello.

    I am trying to edit the order email or order invoice email to show the discount for each item. Currently it shows the full price for the item and then the discount as a whole above the total at bottom. Instead I want a line item showing the price they paid for each item. I am creating orders manually and editing the cost of the item and on the backend it shows as the discounted price but the order email shows the full cost of the item and a “discount” for the whole order at the bottom.

    Here is an image of the current order email. https://budzburn.com/wp-content/uploads/2021/09/Order-Email-Details.jpg

    I know I need to edit the email templates, just unsure of what to put or where to pull the information from.

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support nathvi V. a11n

    (@nathvi)

    Hello @budzburn

    Thanks for your message.

    From what I understand, you are trying to edit the content of the *Completed Order* email to only show the discounted price instead of the price total for the item.

    I’m afraid this will not be possible with the WooCommerce settings straight away, it can, however, be achieved with custom coding.

    Please refer to the following article from our Documentation: How to customize emails in WooCommerce and locate the section Creating Custom Templates with Code.

    You can also visit the WooCommerce FaceBook group for more suggestions: https://www.facebook.com/groups/advanced.woocommerce/

    Hope this helps!

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    It’s been a while since we last heard back from you. I’m going to mark this thread as resolved.

    Hopefully, the above information helped you out! If you have further questions, please feel free to open a new topic.

    Cheers.

    Thread Starter budzburn

    (@budzburn)

    Hello

    I am trying to locate the code or hook needed to show the discounted price instead of the original price in the email template.

    Plugin Support con

    (@conschneider)

    Engineer

    Howdy,

    I am creating orders manually and editing the cost of the item and on the backend it shows as the discounted price but the order email shows the full cost of the item and a “discount” for the whole order at the bottom.

    To my knowledge that should work. If I manually create an order and edit the price like this: https://d.pr/i/vEREIn

    I get the manually set price in the mail: https://d.pr/i/bC0Mve

    How do you change the price when you create the order?

    Kind regards,

    Thread Starter budzburn

    (@budzburn)

    You know I just realized you can edit the “before discount” price. It was greyed out so I assumed it was not editable. If you leave the “before discount” price the original price it will show that price on the order email and just add all the “discounts” together at the bottom.

    Plugin Support con

    (@conschneider)

    Engineer

    Howdy,

    You know I just realized you can edit the “before discount” price. It was greyed out so I assumed it was not editable. If you leave the “before discount” price the original price it will show that price on the order email and just add all the “discounts” together at the bottom.

    I live for the simple things ;). Glad we got this resolved and all the best!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Edit Order Email to show discounts’ is closed to new replies.