Shopify themes, liquid, logos, and UX
Hi!
I am using the dawn them and my website URL is carcleansweden.se. I would like to add the same type of sale badge that I already have on my collection page (the text with the amount of the sale):
Onto my product page as well:
This is the code I used for the collection page: "<strong>-{{ card_product.compare_at_price | minus: card_product.price | times: 100 | divided_by: card_product.compare_at_price }}%</strong>" but I cant find where to put it in to add the same on the product page.
I would hugely appreciate the help!
Solved! Go to the solution
This is an accepted solution.
Hi,
Here are the steps:
1. Go to the Online Store.
2. Click Edit code.
3. Find the sinppets folder.
4. Find the file named price.liquid
5. Add the code below:
This is an accepted solution.
Hi,
Here are the steps:
1. Go to the Online Store.
2. Click Edit code.
3. Find the sinppets folder.
4. Find the file named price.liquid
5. Add the code below:
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024