Display the discount percentage text on store products

This topic has 6 replies, 3 voices, and was last updated 9 months, 4 weeks ago ago by Rose Tyler

  • Avatar: mahdar
    MAHDAR
    Participant
    January 22, 2024 at 01:24

    Hello, I hope you are well

    This tag is discounted products
    Written “UP TO 50%”

    And this is not true

    How can we change or delete the up to text and only 50% is displayed?

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    January 22, 2024 at 06:11

    Hello, @MAHDAR,

    Thank you for using our theme and for contacting us.

    Should you wish to omit the phrase “up to” from the sale label, we kindly suggest utilizing the Loco Translate plugin. This tool will facilitate the modification or removal of the existing sale label text, allowing you to implement a customized version.

    For your convenience, a visual guide is available at the following link: https://imgur.com/mrvojVv

    Additionally, we encourage you to consult the comprehensive article on theme translation for further guidance: https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/

    Should you have any further inquiries or require assistance, please do not hesitate to reach out to us.

    Warm regards,
    The 8Theme Team

    Avatar: mahdar
    MAHDAR
    Participant
    January 22, 2024 at 16:13

    Thank you for your guidance

    Can’t change from mo or po files?

    Is there a way to not install a plugin and change it using coding?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 22, 2024 at 16:57

    Hello, @MAHDAR,

    We appreciate your prompt response.

    We would like to inform you that once the necessary changes have been implemented, you will have the ability to disable and remove the Loco Translate plugin.

    Warm regards,
    The 8Theme Team

    Avatar: mahdar
    MAHDAR
    Participant
    January 22, 2024 at 17:33

    I changed German, French and Italian, but I did not know English

    It is possible to check
    I also installed the plugin

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 23, 2024 at 09:09

    Hello, @MAHDAR,

    Thank you for your cooperation.

    It seems this way doesn’t work in your case, unfortunately, another solution can be to rewrite etheme_sale_label_percentage_text() function (xstore/framework/woo.php) via functions.php file of your child theme.
    https://webdesign.tutsplus.com/a-guide-to-overriding-parent-theme-functions-in-your-child-theme–cms-22623t

    Please note that additional customization in files is out of our basic support scope.

    If you have any additional questions or concerns, please do not hesitate to reach out to us. Our support team is always available to assist you.

    Kind Regards,
    8theme team

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

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

8theme customization service

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.