Shopify themes, liquid, logos, and UX
So my company want to make these product have a 10% discount:
but my front end still show me 20% off....
we use dawn and i can't change the price from my account to recheck it further but i can add/edit the liquid. So i need to know what liquid code that i should edit.
thanks
Solved! Go to the solution
This is an accepted solution.
Hi @admsolindo ,
You can check here Store Online-> theme -> edit code -> snippets/card-product.liquid. Find "card__badge"
- Replace
{{- 'products.product.on_sale' | t -}}
TO
{{ card_product.compare_at_price | minus: card_product.price | times: 100 | divided_by: card_product.compare_at_price }}% Off
This is an accepted solution.
Hi @admsolindo ,
You can check here Store Online-> theme -> edit code -> snippets/card-product.liquid. Find "card__badge"
- Replace
{{- 'products.product.on_sale' | t -}}
TO
{{ card_product.compare_at_price | minus: card_product.price | times: 100 | divided_by: card_product.compare_at_price }}% Off
Hi, @admsolindo
You need to search for the source of 20% OFF in the code. It is usually in the card product. liquid file.
If you will unable to implement your need then I'm happy to do this for you, let me know. Thank you.
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025