How to change the Sale Badge Price text to saved amount on Sense theme?

André_Shop
Shopify Partner
9 0 5

Hi!

 

Anyone know how to change the On Sale Badge Price text to show the total saved amount?

 

I'm using Sense Theme. I found a lot of ways to change it using other themes but it doesn't worked in Sense theme.

 

Thanks in advance.

 

André.

Replies 4 (4)
Dbuglabpvtltd
Shopify Partner
705 75 112

Hi @André_Shop 

You can change that sale badge text in Edit languages.

Dbuglabpvtltd_0-1648168038745.png


If you are unable to find that text here then need to change this by code.

banned
André_Shop
Shopify Partner
9 0 5

Thanks for your reply @Dbuglabpvtltd .

 

The problem is that the text you refered will be applied to all products, and what I need is change the badge text for each product depending the price of the product.

 

I tried to put "{{ saved_amount }}" on the language text editor but it doesn't work.

 

I'm looking for a specific code to give me the total saved amount, but I didn't find it.

Dbuglabpvtltd
Shopify Partner
705 75 112

@André_Shop 
Then I have to check your file code.
Please share your code So i can guide you.

banned
André_Shop
Shopify Partner
9 0 5

The thing is I really don't know which File and Code has to be edit.