Shopify themes, liquid, logos, and UX
Join us March 21 for an AMA on planning your 2023 marketing budget with 2H Media co-owners, Matt and Aron
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)
Hello tugga92,
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; }
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!
Hello cken2,
Please share your site url.
So that i can check and let you know the exact solution here.
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
Hello PascalR,
Please share your site url.
So that i can check and let you know the exact solution here.
Hello
misi-international.myshopify.com
password china
regards
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;
}
Hello i have made a mistake mistake password is: China
Hello compare at price has disappear but i still have the "save price"
Hello PascalR,
Please share the screenshot of which "save price" you want to remove.
Add this css
.grid-product__on-sale {
display: none;
}
Great !!!
all is good now
Thanks a lot
Pascal
Hi there,
I am having the same Issue PascalR had, when hovering over an image I see £25.00 £25.00).
I tried applying the solution that was given to him, however, code is probably different so I can't find the timber.scss.liquid under Assets.
URL https://www.saintnmike.com/?_ab=0&_fd=0&_sc=1
Any help is greatly appreciated, thank you!
Regards
Hi there!
I tried your solution to remove the "Sale" at the compare at pricing and it didn't work and I couldn't find the place to put the code under Assets. Is there another place that I'm missing?
Thanks for your help!
Jayne
I am trying to hide the Compare at prices next to my prices on my Shopify Site. How can I do that?
Hi @Cocoroz ,
please share your requirement with screenshot
User | RANK |
---|---|
178 | |
157 | |
90 | |
33 | |
29 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023