All things Shopify and commerce
Hi everyone,
Does anyone know how can I add, one more badge that displays the amount saved besides the discount badge in my product page?
See the photo for reference.
Solved! Go to the solution
This is an accepted solution.
I added code here so you can mark it as solution to close this post
{%- assign savings = product.compare_at_price | minus: product.price -%}
Save {{ savings | money_without_trailing_zeros }}
- Helpful? Like and Accept a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
This is an accepted solution.
I added code here so you can mark it as solution to close this post
{%- assign savings = product.compare_at_price | minus: product.price -%}
Save {{ savings | money_without_trailing_zeros }}
- Helpful? Like and Accept a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
Hi Dan! Can I use this code in my other theme which is debut? I'll be using my debut theme for the meantime while I'm customizing my dawn theme. here is the url: https://thecleanroom.net/
Hi @IntechCarl
You can try to add it to Debut theme. Please add code in product-price.liquid file.
- Helpful? Like and Accept a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
User | RANK |
---|---|
51 | |
47 | |
39 | |
28 | |
21 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023