<hk-inline-checkout>
hk-inline-checkout: Embeds Hekana's checkout for one product inside the page. Syntax, props, defaults and examples.
On this page
Embeds Hekana's checkout for one product inside the page.
Group: Cart and checkout. Name in the editor: Order form. Complete props for every tag: Tag reference.
Syntax
<hk-inline-checkout />Children: None. The tag is self-closing.
Props
Write props as kebab-case attributes.
| Prop | Type | Required | Default | Allowed values | Editor label |
|---|---|---|---|---|---|
product | data | no | - | - | Product |
label | text | no | "" | - | Form name for screen readers |
Required props
None. Every prop has a default or can be left out.
Examples
No example in the starter themes yet.
Limits and security
- What the checkout asks, charges and collects stays Hekana's; a theme cannot change it.
- Branding reaches the checkout frame only through the theme's checkout settings.
Related tags
hk-add-to-cart: The add to cart button for a product, with quantity and sold-out states.hk-cart-count: Shows the number of items in the cart.hk-cart-items: Lists the cart's lines, customizable through named parts.hk-cart-summary: The cart subtotal and the checkout button.hk-cart-drawer: A slide-in cart panel that can open when an item is added.
