How to hide the widget on certain pages
This article shows how to keep the launcher off your home page or off specific pages, such as the cart or a contact page. Use it when the launcher gets in the way of other content.
Before you start
- Open Branding, click Set up on the Loyalty widget card and open the Design section. The settings are under Page visibility.
- The launcher is always hidden on checkout. You do not need to set anything for that.
-
Hide the launcher on the home page
Turn on Hide on the homepage. It is off by default.
-
Hide it on specific pages
Turn on Hide on specific pages. A Page paths box appears.
-
Enter the page paths
Type one path per line, for example:
/cart /pages/contact -
Save
Click Save, then reload your store and visit one of the pages to check.
Path rules
| Rule | Details |
|---|---|
| Start | Each path starts with exactly one /. A path like //example is rejected. |
| Allowed characters | Letters, numbers and - _ . ~ % / |
| Not allowed | Spaces, question marks (?) and full web addresses |
| Length | Up to 200 characters per path |
| Number | Up to 50 paths. Duplicates are merged. |
| Checkout | Paths starting with /checkout or /checkouts are rejected, because checkout is always hidden. |
If a path is not accepted, you see "[path]" is not a valid path. Start with / and leave out checkout. If you list more than 50, you see Add up to 50 paths.
How matching works
- Matching is exact.
/collectionshides the launcher on/collectionsonly, not on/collections/shoes. Add each page you want to hide. - A trailing slash is ignored, so
/cartalso matches/cart/. - Your store's language prefix is ignored. Write
/cart, not/fr/cart.
Example
You want no launcher on the cart and the contact page. Enter /cart and /pages/contact. The launcher still shows on the home page, product pages and collections.
What stays visible
[!INFO] Hiding the launcher on a page does not remove other ways in. If you added the Rewards page block or the cart Use points button in the theme editor, they can still open the panel on that page. A referral pop-up also still shows when a friend opens a referral link.
Hiding the launcher never removes anyone's points.
Related articles
- How to set the launcher and its position on desktop and mobile
- Why can't customers see the loyalty widget?
- What customers see in the loyalty widget
← How to set the launcher and its position on desktop and mobile