Shopify themes, liquid, logos, and UX
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.
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
Solved! Go to the solution
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
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
By preview link you mean URL?
Sovel.ro
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
It worked, thank you so much!
Find Global Growth Opportunities For Your Business with Shopify AcademyLearn how to exp...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025