Re: Adding text 'RRP' to appear before the strike-out price - Dawn Theme

Solved

Adding text 'RRP' to appear before the strike-out price - Dawn Theme

Goodyears
Excursionist
17 1 3

I wish to add the text 'RRP' to the product page and product grid when you have a regular price and sale price, to appear before the striken- out regular price. 

Accepted Solutions (3)
cringe_studio
Shopify Partner
14 3 0

This is an accepted solution.

Great.
Try to add "RRP" on line 45 of price.liquid snippet.

You can easily do it by heading to Online Store > [...] > Edit code and then searching for "price".
 Screenshot 2023-02-01 at 00.39.42.png

Let me know if that works!

Ciao 👋
Simone

Was your question answered? Mark it as an Accepted Solution
If your question is Shopify, the answer is c̶r̶i̶n̶g̶e̶.
For enquiries: cringe.studio

View solution in original post

Goodyears
Excursionist
17 1 3

This is an accepted solution.

Hi

I inserted a line with 'RRP' after line 59 in the price.liquid snippet. This has introduced the RRP text after the compare at price, they both are struck out but it suits us and it only appears when there is a regular price and sale price.  

 

Many thanks for your help in pointing us in the right direction

View solution in original post

cringe_studio
Shopify Partner
14 3 0

This is an accepted solution.

Well done @Goodyears 🙌

Feel free to like the reply and/or mark the solution as Accepted.

Have a good one!
Simone

Was your question answered? Mark it as an Accepted Solution
If your question is Shopify, the answer is c̶r̶i̶n̶g̶e̶.
For enquiries: cringe.studio

View solution in original post

Replies 8 (8)

cringe_studio
Shopify Partner
14 3 0

Hi,

could you please provide your Shopify Store URL?
Which theme are you using?

Thanks,
Simone

Was your question answered? Mark it as an Accepted Solution
If your question is Shopify, the answer is c̶r̶i̶n̶g̶e̶.
For enquiries: cringe.studio
Goodyears
Excursionist
17 1 3

I am using Dawn 7.0.1, it has not been published yet. 

cringe_studio
Shopify Partner
14 3 0

This is an accepted solution.

Great.
Try to add "RRP" on line 45 of price.liquid snippet.

You can easily do it by heading to Online Store > [...] > Edit code and then searching for "price".
 Screenshot 2023-02-01 at 00.39.42.png

Let me know if that works!

Ciao 👋
Simone

Was your question answered? Mark it as an Accepted Solution
If your question is Shopify, the answer is c̶r̶i̶n̶g̶e̶.
For enquiries: cringe.studio
Goodyears
Excursionist
17 1 3

Hi

 

Thank you for the suggestion, the only problem is that the 'RRP' needs to only be displayed when there is a compare at price. Any items with no compare at price do not need the RRP.  The 'RRP' text needs to be inserted when the price is crossed out, I assume there is a test to determine this within this code?

Goodyears
Excursionist
17 1 3

This is an accepted solution.

Hi

I inserted a line with 'RRP' after line 59 in the price.liquid snippet. This has introduced the RRP text after the compare at price, they both are struck out but it suits us and it only appears when there is a regular price and sale price.  

 

Many thanks for your help in pointing us in the right direction

cringe_studio
Shopify Partner
14 3 0

This is an accepted solution.

Well done @Goodyears 🙌

Feel free to like the reply and/or mark the solution as Accepted.

Have a good one!
Simone

Was your question answered? Mark it as an Accepted Solution
If your question is Shopify, the answer is c̶r̶i̶n̶g̶e̶.
For enquiries: cringe.studio
adamturtle
Tourist
10 0 0

Hi, I am using theme Kalles. I have tried the way you shown but I think because it is year old and different theme it is not the same. I have attached a screenshot of my theme codes, any idea where should I add RRP? 

thanks a lot

MikeyD31
Visitor
2 0 0

Can anybody help me with this, I'm using Canopy which is a Purchased theme, and my price snippet is a lot different so i can't follow the instructions. I want to install RRP when a struck out price is present. Help.