Popup with a rule or a promo code
A popup of Nova opens over the page on a trigger, for example after a time, after scrolling or on the intent to leave. It can show a promo code of a Shopware promotion with a Copy button and can be limited to the visitors that match a rule of the Rule Builder. On one page at most one popup opens: the first matching one from the top of the list. → Popups
Before you start
Section titled “Before you start”A popup with a promo code needs a promotion under Marketing → Promotions that:
- is Active and within Valid from and Valid until;
- has one code for everyone: Promotion codes with a fixed promotion code; individual codes are not shown;
- is assigned to the sales channel under Sales Channels on the tab Conditions.
A promotion in no sales channel is reported in To check: The promotion ‘{name}’ is in no sales channel: the code does not show. The preview shows the code only when the promotion is assigned to the sales channel previewed.
A popup for chosen visitors needs a rule: Settings → Automation → Rule builder → Create rule.
1. Create the popup
Section titled “1. Create the popup”Content → Nova → Marketing → Popups → List of popups → New popup. The template Promo code starts a corner card after scrolling 50 %, once per visit, with a heading, a text and the Promo code block. The template Newsletter with a discount starts a window with the newsletter form.
The new popup is a draft and is assigned at once to every page except the cart and the checkout.
2. Link the promo code
Section titled “2. Link the promo code”Select the Promo code block → Code from:
- Promotion: choose the promotion. The shop shows its code only while the promotion is valid.
- Own text: a code typed in by hand; the shop does not check whether it works.
Button holds the label of the button, “Copy” when empty; After copying the text after the click, “Copied” when empty. A click on the button copies the code and counts as a conversion of the popup.
3. Set when the popup opens
Section titled “3. Set when the popup opens”Mode Display → When → Show: After time on the page, After scrolling, Exit intent, No activity, On a link click or After adding to the cart. Or also adds further triggers; whichever comes first opens the popup.
- After: 0 to 600 s, 8 s by default. Below 3 s the builder warns that the window covers the page on a phone too early.
- Scrolled: 5 to 100 %, 50 % by default.
- Exit intent works only with a mouse pointer. On phone and tablet sets the replacement: After 20 s without movement, On a quick scroll up or Do not show.
Visit → From page view of the visit (1 to 20) and Visitors (New or Returning).
4. Set how often it appears
Section titled “4. Set how often it appears”How often → Show: Until closed, Until signed up or clicked, Every few days, Once per visit or On every page view. The browser of the visitor remembers this; no account and no tracking cookies are used, so a new device counts as a new visitor.
5. Limit the popup to a rule
Section titled “5. Limit the popup to a rule”Where and to whom → Change → tab General → Who and when → Who sees it: choose the rule. Everyone else gets the next matching popup of the list. Shows from and Shows until limit the popup in time. Where sets the sales channels, the devices and the pages. → Assignment
A rule is checked when the page opens. Conditions on the cart, the order or the time are not known at that moment; the assignment page then shows “Partly supported” or “Not supported”. Dates belong in Shows from and Shows until.
6. Publish
Section titled “6. Publish”Publish makes the popup visible in the shop; a draft never reaches the shop. The order of the list is the queue: on one page the first matching popup from the top opens, and the others wait for the next pages. → Documents
Checking it works
Section titled “Checking it works”On a page of the assignment the popup opens on its trigger. The Promo code block shows the code of the promotion with Copy; after the click the button reads Copied. While the cookie bar is visible, the popup waits.
Content → Nova → Marketing → Popups → Which popups show where shows which popup opens in which place.
When the popup does not appear
Section titled “When the popup does not appear”- The popup is not published, or its assignment does not cover the page, the sales channel or the device.
- The rule under Who sees it does not match the visitor, or the time window has not begun or has ended.
- Another popup higher in the list matches the page.
- The visitor has already seen it within How often, or reached the page view earlier than From page view of the visit.
- Exit intent on a phone with Do not show.
The Promo code block is left out when the promotion is inactive, outside its dates, has no single code for everyone or is not assigned to the sales channel. To check names most of these cases, for example The popup stands on no page: it does not reach the shop, The promotion ‘{name}’ is inactive: the code does not show and The promotion ‘{name}’ has no single code for everyone.
Where to go next
Section titled “Where to go next”- Popups: every setting of the popup.
- Free gift to the order: a promotion used in the cart.