• Welcome
  • Integration
  • API
Preo
  • Homepage
  • About
Apps
  • Dashboard
  • App Store
  • Google Play
Social
  • LinkedIn

© 2026 Preo ApS

Introduction
Web Component
    PreviewConfiguration OptionsCustom transaction status page
Frameworks
    NuxtNext.js
Web Component

Configuration Options

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.

Code
<preo-storefront sdk-id="prod:eu:yourorg:edt_xxxxx" locale="en" color-brand="#E91E63" border-radius-button="8px" ></preo-storefront>

General

PropertyTypeRequiredDefaultDescription
sdkIdstringYesThe SDK ID of the event edition, found in the backoffice.
checkoutCancelUrlstringnullURL to redirect to after a cancelled checkout.
checkoutSuccessUrlstringnullURL to redirect to after a successful checkout.
localestring"en"Locale to use for the storefront.
analyticsbooleanfalseSend analytics events to configured providers.
debugbooleanfalseLog debug information to the console.
ttlStorenumber60Time to live for the store in minutes.
overrideFromQueryParamsbooleanfalseOverride component attributes from query params.

Cart

PropertyTypeDefaultDescription
disableLocalStorageCartbooleanfalseDon't persist cart contents between page reloads. Useful for multiple landing pages with different products.
emptyCartAllowedbooleanfalseAllow proceeding to checkout with empty cart.
hideCartSummarybooleanfalseHide summary of items on the checkout page.
isCartProcessingLocallybooleanfalseProcess cart locally.
isCartSummaryEditablebooleantrueShow editable cart summary.

Summary bar

PropertyTypeDefaultDescription
helpUrlstringnullURL for the help button.
hideFooterbooleanfalseHide the footer.
payButtonTextstringCustom text for the pay button.
stickySummarybooleanfalseStick purchase summary to the bottom of the page.
hasGroupedProductsInSummarybooleanfalseGroup products in summary without division into variants and options.

Product listing

PropertyTypeDefaultDescription
isCataloguebooleanfalseShow product list in a grid view.
ageGateAgeVerificationnumber18Age 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.
customFlowSlugstringnullSlug of the custom flow to use.
mainCategoriesstring""Comma-separated list of product categories to show. Empty shows all.

Product details

PropertyTypeDefaultDescription
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".
includeDepositToPricebooleanInclude deposit in displayed price.
productImageModestring"zoom"Product image behavior. Options: "zoom", "static", "full".
readMoreButtonDisabledbooleanfalseHide "read more" and show only short description.
showDiscountbooleanfalseShow discount input at final summary.

Checkout page

PropertyTypeDefaultDescription
authMethodstringAuthentication 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.
hasConfirmEmailFieldbooleanfalseShow confirm email field.
hasConfirmPhoneFieldbooleanfalseShow confirm phone field.
hasEmailFieldbooleantrueShow email field.
hasFirstNameFieldbooleantrueShow first name field.
hasLastNameFieldbooleantrueShow last name field.
hasPhoneFieldbooleantrueShow phone field.
hideDiscountbooleanfalseHide 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

PropertyTypeDescription
colorBrandcolorPrimary brand color for buttons, links, and key UI elements
colorComplementarycolorSecondary/accent color for highlights and hover states
colorSectioncolorBackground color for section containers
colorTextPrimarycolorMain text color for headings and body content
colorTextSecondarycolorSecondary text color for labels and descriptions
colorTextButtoncolorText color inside primary buttons
colorTextButtonDisabledcolorText color for disabled button states
colorButtonDisabledcolorBackground color for disabled buttons
colorTextFootercolorText color in the footer area
colorProductBackgroundImagecolorBackground color behind product images

Discount section colors

PropertyTypeDescription
colorSectionDiscountcolorBackground color for discount sections
colorSectionDiscountTextPrimarycolorPrimary text color in discount sections
colorSectionDiscountTextSecondarycolorSecondary text color in discount sections
colorSectionDiscountIconcolorIcon color in discount sections
colorSectionDiscountBackgroundIconcolorBackground color behind discount icons

Border radius

Values should be valid CSS size units (e.g., 4px, 0.5rem, 8px).

PropertyTypeDescription
borderRadiusButtonsizeBorder radius for buttons
borderRadiusCardsizeBorder radius for card containers
borderRadiusProductsizeBorder radius for product cards
borderRadiusInputsizeBorder radius for form inputs
borderRadiusFullsizeMaximum border radius (for circular elements)
Last modified on January 29, 2026
PreviewCustom transaction status page
On this page
  • General
  • Cart
  • Summary bar
  • Product listing
  • Product details
  • Checkout page
  • Styling
    • Colors
    • Discount section colors
    • Border radius