I think someone should be able to solve this pretty quickly.
I created a collection titled SALE. It only populates when i am running a sale and i tag discounted products with SALE.
I have an announcement bar section i created that links to the collection page. My theme code layout is below.
I want to show the first announcement when SALE collection contains products and hide the normal announcement. When sale collection does not contain products, i want to hide the sale and show the normal. Any ideas?
{% section 'announcement_sale' %}
{% section 'announcement' %}
{% section 'header' %}