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...
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025