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...
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025