Skip to content
Hekana Spray
Documentation
Getting started
Theme development
Components and tags

Localization

Apps and custom code

Examples and recipes
API reference
Publishing
Build apps
AI development

<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

html
<hk-inline-checkout />

Children: None. The tag is self-closing.

Props

Write props as kebab-case attributes.

PropTypeRequiredDefaultAllowed valuesEditor label
productdatano--Product
labeltextno""-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.
  • 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.

Next steps