Solved

Discounts on products

Sovel
Tourist
35 0 2

Hello Shopify,

 

I have some issues with my products. If I want to use the " compare price " for discounts, the percentages are not the right one and they are visible even if the product is not on discount at all.

 

I attached 2 photos for reference, one is with the product discounted and the wrong percentage and the other one is without any discount.

 

Sovel_0-1712152026073.pngSovel_1-1712152049245.png

 

Is there any way to make it work with the correct discounts? If not, is there any way I can remove it completely?

 

Thank you very much,

Sovel

Accepted Solution (1)
LuffyOnePiece
Shopify Partner
503 75 88

This is an accepted solution.

Hi @Sovel ,


Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above tag </body>

 

<style>
.template-product .product-label-wr .product-label {
    display: none;
}
</style>

If you require further help to optimize or customize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
LuffyOnePiece


 

Sandeep Pangeni
Need help with your store? sandeeppangeni17@gmail.com
For quick response, Contact In WhatsApp +9779867521184

View solution in original post

Replies 4 (4)

LuffyOnePiece
Shopify Partner
503 75 88

Hi @Sovel ,

 

We can calculate the discount based on the compared price using the custom code.


If you can send the preview link, I can hide the badge.

 

Thank you

Sandeep Pangeni
Need help with your store? sandeeppangeni17@gmail.com
For quick response, Contact In WhatsApp +9779867521184
Sovel
Tourist
35 0 2

By preview link you mean URL?

 

Sovel.ro

LuffyOnePiece
Shopify Partner
503 75 88

This is an accepted solution.

Hi @Sovel ,


Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above tag </body>

 

<style>
.template-product .product-label-wr .product-label {
    display: none;
}
</style>

If you require further help to optimize or customize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
LuffyOnePiece


 

Sandeep Pangeni
Need help with your store? sandeeppangeni17@gmail.com
For quick response, Contact In WhatsApp +9779867521184
Sovel
Tourist
35 0 2

It worked, thank you so much!