Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3015026
Sale Badge not displaying % as per theme's configuration
Closed

Comments

  •  2
    Joana started the conversation

    I've configured on my theme that the sale badge shows the discount percentage. On the attached image you can see some product bundles that display the % and others that don't. The ones that do have a discount applied via a different plugin, the ones that don't are "normal" bundles with normal and sale price defined.

    What can I do so all bundles show the % as they should?

  •  767
    Janilyn replied

    Hi Joana,

    Thank you for contacting WPClever Support Forum. 

    We’ve received your ticket and assigned one of our developers to help you with that. 

    He’ll be looking into your question and responding with specific instructions as soon as possible. 

    Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back.

    Best regards.

    Janilyn T. - WPClever Support Agent

  •   Dustin replied privately
  •   Joana replied privately
  •  1,226
    Dustin replied

    I checked and saw that the badge from the Porto theme is correct but another plugin Woo Discount Rules has overwritten it https://www.screencast.com/t/no0Mll2aFu. That means the discount percentage only be shown on the product that has a discount rule.

    I added a rule https://www.screencast.com/t/uoMPcwnfHguk for this bundle https://speedfreak.pt/produto/thor-hallman-air/ and it works correctly https://www.screencast.com/t/W21V5PqKjLn

    Best regards,
    Dustin

  •  2
    Joana replied

    Oh, so it's the Woo Discount Rules that is overwritting the native badge from Porto theme and causing this issue when the discount is applied directly on the product (bundle or otherwise). Ok, I understand. As long as I create a rule for all bundles it should work fine, right? Thank you :)

  •  2
    Joana replied

    Another thing I've noticed is that when a bundle is out of stock it's not displaying the out of stock theme's message.

    Atm I have all products out of stock hidden, I'll be removing it now. Could you please also check that?

  •  1,226
    Dustin replied

    I did the test on my demo page with the theme WPCstrore and it works fine https://www.screencast.com/t/UZ8dp4PergJ

    So I need to access your website backend again to check it. Please give me a new temporary administrator access link.

    Best regards,
    Dustin

  • emmastone0098 replied

    yea, looks like plugin doesn’t allow just override /woo-discount-rules/loop/sale-flash.php and simply query for new price 

    But! JS way is still possible  i want it for my site Pinterest gif downloader

  •  2
    Joana replied

    Hi Dustin, thank you for your reply. I managed to make it visible using a plugin for that. I believe there was some incompatibility going around that was preventing it from working properly.

    Thank you either way!