Hello,
I am trying to change the price from “saved” amount to “original price” to show. I found the code under Snippets but do not know the actual wording to change. I think I just need to find the code to change “saved_amount” but cannot find it anywhere online.
1 Like
wmiz
September 20, 2021, 7:56pm
2
Step
In your snippets folder, open product-grid-item.liquid
Find the div with the class “grid-product__on-sale” (should be around line 74)
Enter the following between the div tags:
{% capture orig_amount %}{{ product.compare_at_price | money_without_trailing_zeros }}{% endcapture %}
{{ 'products.general.save_html' | t: orig_amount: orig_amount }}
Go to your store’s languages settings (from your store admin Settings > Store Languages )
Click Change theme language next to whichever theme you are using
Search for ‘Save html’
Under Products / General modify Save HTML to be: Original Price {{ orig_amount }}
The icon is meant to be a circle, so it’s kinda ugly with such a long title. Hope that helps!
1 Like
Thank you so much! I did some modifications but it works like a charm, thank you once again!
1 Like
wmiz
September 20, 2021, 10:04pm
4
No problem, glad it helped!