Skip to main content

PosBlock

Creates a surface on the specified block extension target, serving as a container to place content with an action button.

string

The heading to display within the POSBlock.

If not provided, the description of the extension will be used when a heading is appropriate.

string

A unique identifier for the element.

Was this section helpful?

Renders a QR code when the block is used within a Receipt target.

string

The content to be encoded in the QR code, which can be any string such as a URL, email address, plain text, etc. Specific string formatting can trigger actions on the user's device when scanned, like opening geolocation coordinates on a map, opening a preferred app or app store entry, preparing an email, text message, and more.

string

A unique identifier for the element.

Was this section helpful?

HTMLElement

The secondary actions to perform, provided as button or link type elements.

Was this section helpful?

Code

<s-pos-block>
<s-box paddingBlock="base">
<s-text>Customer Loyalty</s-text>
</s-box>
</s-pos-block>

Preview