Hide compare at pricing percentage

Highlighted
New Member
1 0 0

Hello,

 

I am working on my first Shopify website for a client and I would like to hide the compare at price percentage and just have a strikethrough on the old price. I have been trying to figure this out for days and have not came up with a solution.

 

Can anyone help?

 

Website: https://exclusive-beauty1.myshopify.com/

Example product for issue: Shampoo & Conditioner Bundle Deal (I want the -17% removed and to only show the current sale price along with a strikethrough on the old price)

0 Likes
Highlighted

Hello 

Add this css at bottom of
Online Store-> Themes -> Edit code->Assets->styles.css

.discount-percentage {
display: none;
}
.product-price__price.compare_price {
display: none;
}
Want to modify or incorporate custom changes on store, Hire us
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Whats app
Free Website Review and advice for sale from Shopify Conversion Experts | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Shopify SEO ; Digital Marketing & amp | Site Speed Optimization | Performance Site Audit
0 Likes
Highlighted
New Member
1 0 0

Hi, 

 

Is there a code to remove the compare at price completely? 

I have removed the compare price from my product settings however this still shows on the product page for mobile site. (For example, it shows: £25.00 £25.00), even though the compare at price has been set to £0. The compare price does not show at all on the desktop site, so this part has been resolved, however the above example is still showing for the mobile site for all products. 

It doesn't look like theres a resolution to the problem, so Im looking for a code to hide the compare price completely. 

Any ideas?

Thank you!

0 Likes
Highlighted

Hello cken2,
Please share your site url.
So that i can check and let you know the exact solution here.

Want to modify or incorporate custom changes on store, Hire us
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Whats app
Free Website Review and advice for sale from Shopify Conversion Experts | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Shopify SEO ; Digital Marketing & amp | Site Speed Optimization | Performance Site Audit
0 Likes
Highlighted
Excursionist
16 0 4

Hello

i should like to use your code to hide compare at price but i don t find any "style.css" anywhere

Can you help me

regards

 

Pascal

0 Likes
Highlighted

Hello PascalR,
Please share your site url.
So that i can check and let you know the exact solution here.

Want to modify or incorporate custom changes on store, Hire us
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Whats app
Free Website Review and advice for sale from Shopify Conversion Experts | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Shopify SEO ; Digital Marketing & amp | Site Speed Optimization | Performance Site Audit
0 Likes
Highlighted
Excursionist
16 0 4

Hello

misi-international.myshopify.com

password china

regards

0 Likes
Highlighted

Hello PascalR,
Add this css at the bottom of
Online Store->Theme->Edit code->Assets->timber.scss.liquid

.product-single__price--compare-at {
    display: none;
}
Want to modify or incorporate custom changes on store, Hire us
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Whats app
Free Website Review and advice for sale from Shopify Conversion Experts | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Shopify SEO ; Digital Marketing & amp | Site Speed Optimization | Performance Site Audit
0 Likes
Highlighted
Excursionist
16 0 4

Hello i have made a mistake mistake password is: China

0 Likes
Highlighted
Excursionist
16 0 4

Hello compare at price has disappear but i still have the "save price"

0 Likes