Purchase right on the page
The widget embeds into the page as part of it: the customer picks a certificate and completes the order without leaving, and the block height adjusts itself. Below is a live embedded block.
How to add it to your site
Add a container and the script, telling it where to embed the block.
<div id="numior-sale-hub-checkout-container"></div>
<script async
src="https://salehub.numior.ru/widget/v1/loader.js"
data-numior-sale-hub-checkout
data-storefront="demo-shop"
data-theme="light"
data-locale="en"
data-mode="inline"
data-target="#numior-sale-hub-checkout-container"></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.