• Resolved zyntsz

    (@zyntsz)


    I want to show the %off sign on the side of the discounted price on the product pages.

    I have many products so I don’t want to go to individual products to change HTML. I tried adding the HTML this code to headers and code snippets but doesn’t work:

    <span class=”onsale”>{{percentage}}%</span>

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author flycart

    (@flycart)

    Hi

    Thank you for reaching out. I guess you are trying to display a sale badge with a percentage. Right?
    Have you already created a discount rule in the plugin?
    If yes, you can enable the sale badge. Here is a guide:
    https://docs.flycart.org/en/articles/4179583-sale-tag-dynamic-sale-badge-2-0
    But if you are not using our plugin to create the discount, then you may have to adopt a different approach based your theme.

    Hope this helps.

    Thanks

    Thread Starter zyntsz

    (@zyntsz)

    Yes, I am using your plugin and I have created the discount rule.

    I know you mean that the sale badge appears on the top right side of the product image in the product lists. However, I meant that I want to display like 20% off on the side of the price of every individual product pages.

    Hi
    Thanks for the clarification.

    At the moment, it might be possible to only display a discounted price as a strikeout. But, it might not be possible to display the percentage.

    There are three scenarios in displaying discounts on product pages:

    Scenario 1:
    If the discount applies right from quantity 1, then the users can see the discounted price on the product page.?https://docs.flycart.org/en/articles/4178894-display-discounted-price-with-strikethrough-on-default-prices-2-0

    Scenario 2:?
    If the discount applies only after a certain quantity, then you can show a discount table on the product page. ?Here is a guide.?https://docs.flycart.org/en/articles/4230405-all-about-discount-table-2-0

    Scenario 3:??
    If the discount has other conditions like Buy 1, get 1, then you can show the discount information using discount bar.?
    You can format how the discount bar appears using this guide?https://docs.flycart.org/en/articles/3946529-discount-bar-discount-rules-2-0??.

    In all three scenarios, the discount can be seen in the cart.

    Other Display-related options are available through our plugin:
    ?https://docs.flycart.org/en/articles/4164050-display-settings-from-version-2-0

    ??Hope this helps.

    Thanks
    Team Flycart

    Thread Starter zyntsz

    (@zyntsz)

    Thanks for the answer. Now, I encountered another problem.

    The cart is showing product original price instead of the discounted price even when the discount is activated in the cart.

    Hi

    Can you please open a support ticket here–> https://www.flycart.org/support with screenshots of rule setup so that we can have a check and assist accordingly?

    Thanks
    Team Flycart

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Show discount % off on side of discounted price’ is closed to new replies.