Purchase in a popup
The customer clicks a button on your site and a purchase window opens right over the page: picking a certificate, recipient details and the step to payment. Your site stays where it is. The fastest way to start selling — click the button and try it yourself.
How to add it to your site
Add a button and one line with the script — nothing else to configure.
<button type="button" data-numior-sale-hub-checkout-trigger
data-storefront="demo-shop"
data-theme="light"
data-locale="en"
data-mode="modal">
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.
For site builders (Tilda, Wix, uKit)
A button there only takes a link. Put the script with the storefront and theme into the site head and set the link #numior-sale-hub-checkout on a button or menu item. For an English page use #numior-sale-hub-checkout?locale=en.
<script async
src="https://salehub.numior.ru/widget/v1/loader.js"
data-storefront="demo-shop"
data-theme="light"
data-locale="en"></script>