The floating button stays on your store after a visitor closes your popup, so they can reopen it. If it gets in the way on some pages, such as product pages, you can hide it there and keep it everywhere else.
Hide the floating button on certain pages
Open the popup in the editor. In the step bar, select the floating button. Floating buttons are to the left of the divider.
Select + to open Add element, then choose Static Prism under Content.
Drag the floating button's content (for example, your "Mystery discount" button) inside the Static Prism, so it's a child of the Prism, not next to it.
Select the button inside the Prism. Under Show this variant if, select Add a condition and choose Is not on page(s).
Choose By path only (such as
/products/123) or By full URL (such ashttps://www.example.com/products/123), then enter the pages where you want the button hidden.If the popup is live, select Publish.
The floating button now shows on every page except the ones you listed. On those pages, no variant matches, so the Prism shows nothing.
đĄ Note: The floating button must be inside the Static Prism, not next to it. Content placed beside the Prism ignores its rules.
The mobile and desktop floating buttons use separate templates. If you use both, set this up on each.
Frequently asked questions
Can I hide the floating button on mobile only instead?
Yes, without a Prism. Select the floating button's content and set its Visibility to Hidden under All screen sizes and Visible under Desktop only.
Can I move the floating button on certain pages instead of hiding it?
How do I check it's working?
The editor doesn't check Prism rules. Use Preview and visit one of the pages you listed and one you didn't.
Still have questions?
Start a chat from inside the Alia app, or use the chat in our Help Center.

