Personalized checkout and custom promotions with Shopify Scripts
Is there a way to hide the announcement bars on specific collections?
Using dawn theme.
You can create metafield named hideannounement and assign its value to any number and paste the below code in collection-list.liquid file.
{% if collection.metafields.custom.hideannounement != blank %}
.announcement-bar {display: none !important;}
{% endif %}
Hope it helps...
User | RANK |
---|---|
4 | |
1 | |
1 | |
1 | |
1 |
On 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, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023