How to get sale price and regular price to show in emails

This topic has 4 replies, 2 voices, and was last updated 1 months, 3 weeks ago ago by Jack Richardson

  • Avatar: creatoys
    creatoys
    Participant
    April 11, 2025 at 07:54

    Hi Team,

    Is possible to show in emails, the regular and reduced price in case of reduced items. Right now if the selling item is reduced it shows just the reduced price without the regular price.
    We are using the XSTORE Email Builder.

    Thank you

    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 11, 2025 at 14:56

    Dear @creatoys,

    We hope this message finds you well.

    Could you kindly provide us with a screenshot from your email that shows the product(s) data in question? This will help us better understand the area where the regular price is displayed instead of the sale price. Additionally, we would greatly appreciate it if you could share the URL(s) of the affected product(s).

    Thank you in advance for your cooperation.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: creatoys
    creatoys
    Participant
    April 17, 2025 at 07:56

    As mentioned in the initial request: just the reduced price is showing in the mail. see image attached

    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 17, 2025 at 12:52

    Dear @creatoys,

    Thank you for reaching out to us.

    We have reviewed the code and would like to inform you that, by default, WooCommerce does not display the sale price of products in email templates. As shown in the following screenshot https://prnt.sc/W4ILX5MzKOOj, the regular price is displayed when using the default email templates (not those created with a builder), even if the product has a sale price set https://prnt.sc/7zAvTSBOKmP2.

    If you wish to display the sale price in the email templates, you may consider applying a modification using the following PHP filter:

    woocommerce_order_formatted_line_subtotal

    https://prnt.sc/UNxmHC_6ktEX

    However, please note that such customizations fall outside the scope of our basic support services.

    Should you require assistance with this customization, we kindly invite you to submit a request through our customization service at: https://www.8theme.com/account/.

    Please be advised that our support is provided in accordance with the Envato support policy. We appreciate your understanding and cooperation in respecting our support guidelines.

    Best regards,
    Jack Richardson
    The 8Theme Team

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.