Purchase on a separate page
When the widget cannot be embedded — for example, inside an email — the button opens the purchase page in a new tab. Handy for links in newsletters and messengers. Click to see it.
How to add it to your site
The same button as for the popup, just with mode set to redirect.
<button type="button" data-numior-sale-hub-checkout-trigger
data-storefront="demo-shop"
data-theme="light"
data-locale="en"
data-mode="redirect">
Buy a certificate
</button>
<script async src="https://salehub.numior.ru/widget/v1/loader.js"></script>Parameters
- data-storefront
- Storefront slug — required.
- data-mode
- Display format: modal, inline, or redirect.
- data-product
- Product id — optional; opens that product directly.
- data-target
- CSS selector of the container — inline mode only.
- data-theme
- Interface theme: light or dark (default light).
- data-locale
- Interface language, e.g. ru or en.