How to "Strike Through" compare at price?

Highlighted
New Member
1 0 1

Hello there, anyone please could help to add strike through compare to price, IAM not sure where and what I should edit the code 

1 Like
Highlighted
Shopify Partner
8524 1138 2981

Hello, @Petsella 

Welcome to the Shopify community!
and Thanks for your Good question.

Please share your site URL,
So I will check and provide a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
1 Like
Highlighted
Tourist
5 0 3

Hello, 

Could someone help me with a solution? Both my compare at price and sale price are side-by-side and I want the compare at price crossed out.

My url is thejewelparlor.com 

Please advise. Thank you.

1 Like
Highlighted
Shopify Partner
8524 1138 2981

@TJPjewels 

Welcome to the Shopify community!
and Thanks for your Good question.

1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.

span.price-max, span.old-price {
    text-decoration: line-through;
}

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Highlighted
Tourist
5 0 3

@KetanKumar OH, MY GOODNESS!  IT WORKED! 

I am NOT at all proficient in coding but I was able to figure it out. THANK YOU SO MUCH! 

0 Likes
Highlighted
Shopify Partner
8524 1138 2981

@TJPjewels 

Thanks for update and support.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
1 Like
Highlighted
Tourist
5 0 3

Hello again.  Thank you for helping me last time. Unfortunately, I think a new issue was created. I have different variations for items, for example necklaces. The different lengths or materials have different prices. Instead of saying "from $48", the higher price of the more expensive variation is being crossed out as if it were the compare price. How can I fix this please? My website is www.thejewelparlor.com 

 

Thank you

1 Like
Highlighted
Shopify Partner
8524 1138 2981

@TJPjewels 

Thanks for post

if possible to give me screenshot or video further issue 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
1 Like
Highlighted
Tourist
5 0 3

Screenshot_20201013-055525_Chrome.jpg

1 Like
Highlighted
Shopify Partner
8524 1138 2981

@TJPjewels 

Thanks 

can you please send the product card grid or product grid item file code so i will check and update?

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes