The Preo storefront is a custom element (part of the Web Components standard)—a reusable HTML tag that works in any website or framework. Configure it by passing attributes directly on the element.
< preo-storefront
sdk-id = "prod:eu:yourorg:edt_xxxxx"
locale = "en"
color-brand = "#E91E63"
border-radius-button = "8px"
></ preo-storefront >
General
Property Type Required Default Description sdkIdstring Yes The SDK ID of the event edition, found in the backoffice. checkoutCancelUrlstring nullURL to redirect to after a cancelled checkout. checkoutSuccessUrlstring nullURL to redirect to after a successful checkout. localestring "en"Locale to use for the storefront. analyticsboolean falseSend analytics events to configured providers. debugboolean falseLog debug information to the console. ttlStorenumber 60Time to live for the store in minutes. overrideFromQueryParamsboolean falseOverride component attributes from query params.
Cart
Property Type Default Description disableLocalStorageCartboolean falseDon't persist cart contents between page reloads. Useful for multiple landing pages with different products. emptyCartAllowedboolean falseAllow proceeding to checkout with empty cart. hideCartSummaryboolean falseHide summary of items on the checkout page. isCartProcessingLocallyboolean falseProcess cart locally. isCartSummaryEditableboolean trueShow editable cart summary.
Summary bar
Property Type Default Description helpUrlstring nullURL for the help button. hideFooterboolean falseHide the footer. payButtonTextstring Custom text for the pay button. stickySummaryboolean falseStick purchase summary to the bottom of the page. hasGroupedProductsInSummaryboolean falseGroup products in summary without division into variants and options.
Product listing
Property Type Default Description isCatalogueboolean falseShow product list in a grid view. ageGateAgeVerificationnumber 18Age to verify for age gate. ageGateModestring "on_load"When to show age gate. Options: "on_load", "on_cart_add". crossSellCategoriesstring ""Comma-separated list of categories for multi-step product selection. customFlowSlugstring nullSlug of the custom flow to use. mainCategoriesstring ""Comma-separated list of product categories to show. Empty shows all.
Product details
Property Type Default Description currencyLocalestring "auto"Price formatting locale. Options: "auto", "en-US", "da-DK", "sv-SE", "de-DE", "nl-NL", "en-GB", "pl-PL". crossedPriceLayoutstring "full"Style for crossed prices. Options: "full", "compact", "none". includeDepositToPriceboolean Include deposit in displayed price. productImageModestring "zoom"Product image behavior. Options: "zoom", "static", "full". readMoreButtonDisabledboolean falseHide "read more" and show only short description. showDiscountboolean falseShow discount input at final summary.
Checkout page
Property Type Default Description authMethodstring Authentication method. Options: "form", "sso". authUserEmailstring ""Email of the authenticated user. authUserFirstNamestring ""First name of the authenticated user. authUserLastNamestring ""Last name of the authenticated user. authUserPhonestring ""Phone of the authenticated user. hasConfirmEmailFieldboolean falseShow confirm email field. hasConfirmPhoneFieldboolean falseShow confirm phone field. hasEmailFieldboolean trueShow email field. hasFirstNameFieldboolean trueShow first name field. hasLastNameFieldboolean trueShow last name field. hasPhoneFieldboolean trueShow phone field. hideDiscountboolean falseHide discount at checkout. ssoLoginUrlstring ""URL for SSO login button.
Styling
Customize the visual appearance with CSS-based properties. Colors accept standard CSS formats: #hex, rgb(), rgba(), hsl(), or named colors.
Colors
Property Type Description colorBrandcolor Primary brand color for buttons, links, and key UI elements colorComplementarycolor Secondary/accent color for highlights and hover states colorSectioncolor Background color for section containers colorTextPrimarycolor Main text color for headings and body content colorTextSecondarycolor Secondary text color for labels and descriptions colorTextButtoncolor Text color inside primary buttons colorTextButtonDisabledcolor Text color for disabled button states colorButtonDisabledcolor Background color for disabled buttons colorTextFootercolor Text color in the footer area colorProductBackgroundImagecolor Background color behind product images
Discount section colors
Property Type Description colorSectionDiscountcolor Background color for discount sections colorSectionDiscountTextPrimarycolor Primary text color in discount sections colorSectionDiscountTextSecondarycolor Secondary text color in discount sections colorSectionDiscountIconcolor Icon color in discount sections colorSectionDiscountBackgroundIconcolor Background color behind discount icons
Border radius
Values should be valid CSS size units (e.g., 4px, 0.5rem, 8px).
Property Type Description borderRadiusButtonsize Border radius for buttons borderRadiusCardsize Border radius for card containers borderRadiusProductsize Border radius for product cards borderRadiusInputsize Border radius for form inputs borderRadiusFullsize Maximum border radius (for circular elements)
Last modified on January 29, 2026