Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi everyone
I have certain variations on sale, and would like to hide the 'compare-at' price on the product card, because it is making the home page and collection page look cluttered and confusing. See my screenshot. (Interestingly, 'the compare-at' price is not showing on all the products, even though all products have the same size variation on sale.)
Can anyone advise on how to do this?
I would like to keep the compare-at price for when the customer navigates to that particular variation.
The url is www.thechristianpostercompany.com
Solved! Go to the solution
This is an accepted solution.
A fix could be to go to Online Store -> Customize (On the theme) -> Select the section you want to hide it from -> Custom CSS
Then paste this into it
.price--on-sale .price-item--regular {
display: none;
}
Let me know if that fixed it for you 😄
This is an accepted solution.
A fix could be to go to Online Store -> Customize (On the theme) -> Select the section you want to hide it from -> Custom CSS
Then paste this into it
.price--on-sale .price-item--regular {
display: none;
}
Let me know if that fixed it for you 😄
This has worked. Thank you!!
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025