Skip to content

The bar in the shop

  • The bar with your text in the language the visitor is browsing the shop in. If a language has no text of its own, the default language text is shown.
  • A button with a link (or the whole bar text as a link) and a countdown at the {countdown} marker. The countdown shows days, hours, minutes and seconds and changes every second.
  • A cross to close the bar, if you left it on.
  • The bar is not shown when printing the page.
  1. When a visitor closes the bar, it is remembered in their browser. The bar does not appear on the following pages or on the next visit.
  2. When you change the text, link, button or countdown end, the bar appears again even for those who closed it. A new promotion therefore always reaches customers.
  3. If you want a closed bar to come back even without a content change, set Show again after (days).
  4. The Show to everyone again option (after saving) brings the bar back for everyone.
  5. A closed bar does not flicker when the page loads; it is hidden before the page is drawn.

Closing is stored in the browser (site storage and, as a fallback, a cookie). If a visitor clears the site data or uses another browser or device, they will see the bar again.

Countdown, schedule and the end of a promotion

Section titled “Countdown, schedule and the end of a promotion”
  • The countdown runs to the set end. When it ends, the bar is hidden or shows a different text (according to the settings).
  • The display schedule switches the bar on at Show from and off at Show to, so you can prepare a promotion in advance.
  • The browser calculates both the countdown and the schedule, so they work with page caching too. The countdown follows the visitor’s clock.

The bar is inserted through the theme’s standard place right after the page opens. If the theme does not call it, the module inserts the bar at the start of the page itself. The text is cleaned before it is shown and the link is checked, so no foreign code can get into the bar.

Was this article helpful?