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...
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024