Shopify themes, liquid, logos, and UX
Hi I want to remove prices off of some of my collectio pages- not all of them. IS there a CSS i can add to each collection section ?
url: https://www.sarahhoodstudio.com/collections/landscape
password: sarahhoodjewelry
Solved! Go to the solution
This is an accepted solution.
Here is the CSS code you can use to hide the prices:
.price {
display: none;
}
Adding this will hide the prices on all collections if you do not use templates.
https://help.shopify.com/en/manual/online-store/themes/theme-structure/templates
If you do not use templates here is how you can create one and apply to collections.
1. While on the theme editor. Click Default Collection > Collections > Create Template
2. write your template name. I used no-prices and create
3. Add the CSS Code aboove to the product grid
4. Edit the collection that you want to hide the prices on. Under Products on the left menu
5. Change the Theme Template to no-prices (or whatever you created) and Save
Hope this helps.
You can do that by adding this code in theme.liquid file, before </head> tag
{% if collection.handle == "landscape" %}
.thumbnail .price { display: none !important }
{% endif %}
If you want to hide price for another collection, please add code like this
{% if collection.handle == "landscape" or collection.handle =="your collection handle" %}
.thumbnail .price { display: none !important }
{% endif %}
- Helpful? Like and Accept a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
This is an accepted solution.
Here is the CSS code you can use to hide the prices:
.price {
display: none;
}
Adding this will hide the prices on all collections if you do not use templates.
https://help.shopify.com/en/manual/online-store/themes/theme-structure/templates
If you do not use templates here is how you can create one and apply to collections.
1. While on the theme editor. Click Default Collection > Collections > Create Template
2. write your template name. I used no-prices and create
3. Add the CSS Code aboove to the product grid
4. Edit the collection that you want to hide the prices on. Under Products on the left menu
5. Change the Theme Template to no-prices (or whatever you created) and Save
Hope this helps.
User | RANK |
---|---|
217 | |
165 | |
65 | |
54 | |
53 |
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023