Edit products in email builder remove previous

This topic has 4 replies, 2 voices, and was last updated 3 months, 3 weeks ago ago by Luca Rossi

  • Avatar: Alpha111
    Alpha111
    Participant
    July 29, 2024 at 11:50

    Hi i want in the email builder to not show ( le prix initial était ….) i want only the prevois price to be barred and display new price

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    3 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    July 30, 2024 at 06:33

    Dear @Alpha111,

    We hope this message finds you well. We have noticed that the built-in email customizer is currently disabled on your system. Could you please inform us about the plugins you are utilizing at your earliest convenience?

    Thank you for your attention to this matter.

    Best Regards,
    8Theme’s Team

    Avatar: Alpha111
    Alpha111
    Participant
    July 30, 2024 at 10:46

    Its activated

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    July 31, 2024 at 05:03

    Hi @Alpha111,

    Unfortunately, there is no hooks to customize the price in the email builders.

    You have to take a look at this file: wp-content/plugins/et-core-plugin/packages/woocommerce-email-template-customizer/includes/email-render.php on the line 1288

    
    'price' => $product->get_price_html(),
    

    And uptdate the $product->get_price_html() to other codes, here is an example: https://stackoverflow.com/a/23477468/2660153.

    Hope it helps!

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

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

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