How to create rotating bars only on selected collections?

Yes, it is doable with the flexible power of the Quick Announcement Bar.
This mixed setup will require some work. Once you get the hang of it, it will be set up easily.
A graphic below is showing the concept in terms of how it works. After the graphic, you will find an example with a step-by-step guide.

Example

  • Bar A is a bar showing on all pages. Let’s call it "All Page" bar.
  • On page A, a customer will only see Bar A (aka "All Page" bar).
  • Bar B is a bar showing only on page B. Let’s call it "Page B" bar.
  • On page B, a customer will see a rotating QAB with Bar A and Bar B.

Step-by-Step Guide

1. Set "All Page” bar display on all pages, but exclude “B”

2. Duplicated the "All Page” bar. Let’s call it “Duplicated Bar”. 

  1. Set the “Duplicated Bar” display on page URL with "B" keywords
  2. Set the “Duplicated Bar” exclude page to "None"
  3. Set the “Duplicated Bar” 5 "Seconds To Display Before Retraction". The number 5 is actually could be any number larger than 0. Here we use 5 seconds as an example.

3. Set "Page B” bar. Basically, we will apply the exact same settings from the “Duplicated Bar"

  1. Set the “Page B” bar display on page URL with “B” keywords
  2. Set the “Page B” bar exclude page to “None”
  3. Set the “Page B” bar 5 “Seconds To Display Before Retraction”.

    4. Click Save