Products
<sessions-products>Lists the storefront products for a business. Each product card opens an embedded checkout when clicked. Filter by product type with the `type` attribute.
Install
<script type="module" src="https://go.sessions.website/embeds/unstable/products.js"></script>
<sessions-products
business="ottawa-volleyball"
></sessions-products>Attributes
| Name | Type | Required | Description |
|---|---|---|---|
business | string | ✓ | Handle of the business whose products should be listed. |
auth | token | — | Optional embed-scoped JWT. When omitted, the embed behaves like an anonymous shopper. |
type | pass | membership | giftCard | physicalProduct | — | When set, restricts the catalogue to a single product kind. Values match the GraphQL `__typename` exactly. |
Try attributes
Edit attributes — the live preview to the side rebuilds in place.