Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

https://github.com/magesuite/widget-salebar

This creates a widget called Salebar. This widget adds a small info bar at the top of the page/.

Installation

This module is optional

composer require "creativestyle/magesuite-salebar-widget" ^1.0.0

Admin settings

In Content -> Widgets add a new widget and select Salebar type and desired theme.

Display widget on all pages or on specific kind of pages

Choose the proper container: Header - Salebar Widget

Provide widget content: add texts, optionally add background and text color, optionally add a timer.

Add %TIMER% string to texts and set expiration zone: use format YYYY-MM-DD HH:MM:SS in CET timezone.

Frontend

Example 1:

<p>Sale of our limited edition ends soon! Only %TIMER% left!</p>

Example 2:

<p><span class="hide-mobile">Wir strukturieren unser Lager um!</span> <span class="hide-mobile">&nbsp;|&nbsp;&nbsp;</span>Offizieller Rieker Onlineshop</p>

  • No labels