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

© 2026 Preo ApS

  • Integration
  • API
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.
localestring"en"Locale to use for the storefront.
trackingConsentbooleanfalseWhen true, marketing pixels (Meta, TikTok, GA, GTM, Matomo) will be loaded. Set to false until user gives cookie consent.
analyticsIntegrationsstring""Set to "auto" to detect existing pixels on the page (GA, GTM, Meta, TikTok). Or provide a JSON array of integrations.
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
hideFooterbooleanfalseHide the footer.
hideLanguageSelectorbooleanfalseHide the language selector in the footer.
stickySummarybooleanfalseStick purchase summary to the bottom of the page.
scrollIntoViewbooleanfalseScroll to top when clicking the logo.
hasGroupedProductsInSummarybooleanfalseGroup products in summary without division into variants and options.

Product listing

PropertyTypeDefaultDescription
isCataloguebooleanfalseShow product list in a grid view.
mainCategoriesstring""Comma-separated list of product categories to show. Empty shows all.
saleProductIdsstring""Comma-separated list of product IDs to show. Empty shows all.
crossSellCategoriesstring""Comma-separated list of categories for multi-step product selection.
ageGateModestring"on_load"When to show age gate. Options: "on_load", "on_cart_add".
ageGateAgeVerificationnumber18Age to verify for age gate.
ageGateVerificationMethodstring"modal"Age verification method. Options: "modal", "criipto".
hasRestrictedProductsVisibleDespiteRestrictionbooleanfalseShow restricted products even after age gate rejection.

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".
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
checkoutSuccessUrlstringnullURL to redirect to after a successful checkout.
checkoutCancelUrlstringnullURL to redirect to after a cancelled checkout.
authMethodstring"form"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.
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 April 21, 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