Sale percentage do not work, they show 0%

This topic has 22 replies, 3 voices, and was last updated 1 month, 1 week ago ago by Tony Rodriguez

  • Avatar: ziga32
    ziga32
    Participant
    April 15, 2026 at 11:38

    I’m writing a follow up on this topic as something is not working as expected.
    https://www.8theme.com/topic/im-not-seing-sale-percentage-on-sale-label/#post-468927

    I used wc dynamic pricing and discount plugin, from xstore bundles.

    I set a category to 20% discount.
    https://cleanshot.com/share/M3klKFW4

    but I get this
    https://cleanshot.com/share/ZRbspd77

    21 Answers
    Avatar: ziga32
    ziga32
    Participant
    April 15, 2026 at 14:34

    Another thing. I cannot set discount for a specific category for multiple languages.

    example
    SI: Cvetlična korita
    DE: Pflanzkübel

    I can find german products
    https://cleanshot.com/share/gQnGgxkK

    but not german category
    https://cleanshot.com/share/sN01lqr5

    If I switch to German language I can find category, but then SI category is deleted

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 16, 2026 at 11:39

    Hello, ziga32,

    We have noticed that there is no active theme on the website you provided. Please activate a theme there, or grant us access so that we can do it for you.

    Best regards,
    8Theme Team

    Files is visible for topic creator and
    support staff only.
    Avatar: ziga32
    ziga32
    Participant
    April 16, 2026 at 12:58

    The website is flamula.si

    Avatar: ziga32
    ziga32
    Participant
    April 16, 2026 at 12:59

    sending
    Access

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 16, 2026 at 17:10

    The “Sale percentage” feature works exclusively with the price and discounted price fields set directly in the product itself. This is why the percentage is not displayed – the plugin applies the discount to the product category fields without modifying the product data.

    We intended to create a small customization to resolve this issue; however, we encountered a problem: the FTP access to your website is no longer functioning. The provided credentials lead to an empty directory on the server via both FTP and SFTP protocols.

    Best regards,
    8Theme Team

    Avatar: ziga32
    ziga32
    Participant
    April 16, 2026 at 21:58

    what do you mean? did u use below info?

    I managed to log in ith filezilla just fine

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 17, 2026 at 13:00

    Hello, ziga32,

    We are using FileZilla and are encountering the following error, regardless of the protocol we use:

    Connection timed out after 20 seconds of inactivity  
    Error: Could not connect to server  

    Best regards,
    8Theme Team

    Files is visible for topic creator and
    support staff only.
    Avatar: ziga32
    ziga32
    Participant
    April 17, 2026 at 19:36

    Please send your ip

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 20, 2026 at 08:48

    Hello, ziga32,
    We have added it to the private content.

    Best regards,
    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: ziga32
    ziga32
    Participant
    April 20, 2026 at 09:18

    both IP’s added to ftp allow whitelist.

    I added some snippet that shows correct percentage on the badges.
    https://cleanshot.com/share/fCkTKpbJ

    you can safely remove it. Works ok but discounts from WooCommerce Dynamic Pricing & Discounts do not apply to other languages.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 20, 2026 at 17:20

    Thank you for providing access. We have kept your code and made some changes to the theme files.
    Please let us know if the sale label is now working as you need.

    Best regards,
    8Theme Team

    Avatar: ziga32
    ziga32
    Participant
    April 20, 2026 at 17:25

    hmm, what exaxctly did you do?
    It works the same as before, with my code
    https://cleanshot.com/share/1K7PwQ12

    If I delete my code it shows 0% again
    https://cleanshot.com/share/TY2SsqQq

    And I still can’t set discount to a category on other languages.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 21, 2026 at 08:43

    Hello, ziga32,

    Please enable the general discount so that we can check how it is displayed on the store page.

    Best regards,
    The 8Theme Team

    Avatar: ziga32
    ziga32
    Participant
    April 21, 2026 at 09:37

    discount is enabled here.
    https://flamula.si/cvetlicna-korita/

    It correctly shows -20% with my snippet enabled in functions.php.

    I’m unable to give 20% discount on the seme category on DE, ES, HR and IT languages.
    I can add german products
    https://cleanshot.com/share/76X8PNgh

    but can’t add german category
    https://cleanshot.com/share/bljCtZm1

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 21, 2026 at 15:44

    In this case, you need to contact the plugin developers, as our theme does not affect the availability of options in third-party plugin selectors
    Best regards,
    8Theme Team

    Avatar: ziga32
    ziga32
    Participant
    April 22, 2026 at 10:09

    that plugin does not even support wpml I see… will seek a different one

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 24, 2026 at 09:30

    Hello, ziga32,

    Please let us know once you find a suitable plugin.
    Best regards,
    The 8Theme Team

    Avatar: ziga32
    ziga32
    Participant
    April 24, 2026 at 10:08

    I created my own plugin, works good with badges and on all languages 🙂
    https://cleanshot.com/share/T5x6MqhG

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 24, 2026 at 12:11

    That’s great! If you encounter any issues with its compatibility with our theme, please don’t hesitate to contact us.
    Best regards,
    The 8Theme Team

    Avatar: ziga32
    ziga32
    Participant
    April 24, 2026 at 12:39

    Thanks for the support! My topic “Sale percentage do not work, they show 0%” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    April 24, 2026 at 12:39

    Dear ziga32,

    We really appreciate your time and engagement within the WordPress & WooCommerce community

    Your feedback drives every improvement we make in XStore — helping us deliver a smoother and more flexible experience with each update.

    Your input makes a real difference.

    Topic closed.
    The 8Theme Team

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

The issue related to '‘Sale percentage do not work, they show 0%’' has been successfully resolved, and the topic is now closed for further responses

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