Skip to main content
Visibility Scheduler
Storefront

Hide a banner when a sale ends

Use this when a section should be visible for a few days and then disappear without a code edit.

Steps​

  1. In the theme editor, find the section you want to show and hide. Note its name.
  2. In Visibility Scheduler, create a schedule for that section.
  3. Choose Show for the hours it should be on the page, and Hide for when it should leave.
  4. If the section is already visible and you only scheduled Show, the app warns you. That warning means the schedule will not change what shoppers already see.
  5. Save, then open the storefront. Before the window, the section should be hidden. During the window, it should be visible.
  6. When the window ends, refresh the page and confirm the section is gone.

Recurring sales​

Use a repeat if the same banner returns every week. Check the next date on the schedule after you save, so a Monday banner is not set for Sunday.