Skip to main content
  • Time — 20 minutes
  • Difficulty — Intermediate
What You’ll Build: A working UI Metadata configuration that controls your storefront’s layout, content, and behavior, using context and data settings to customize everything from product layouts and pricing display to store copy and feature toggles, without touching any code. Prerequisites:
  • An active Upmind account.
  • Basic familiarity with Cart 2.0.
  • Access to Settings > Brand Settings in your Upmind admin panel.
  • A basic understanding of JSON formatting.
  • A read-through of Understanding the Cart Architecture to understand how configuration levels and inheritance work.
Cart 2.0 is designed to work out of the box, with no configuration required. If you do nothing, the cart uses recommended built-in defaults that work for most use cases. What’s new in Cart 2.0 is the level of control you now have when you do want to customize things. Compared to the original cart, you can finely control:
  • Page templates.
  • How components render.
  • Visual behaviour across different pages.
  • Whether certain features are enabled or disabled.
An admin configurator panel is planned for 2026. Until then, all configuration is done by saving JSON settings into UI Metadata fields. You can access the UI Metadata from Settings > Brand Settings under Branding and Customisation.
Settings > Brand Settings

How configuration works

The Cart 2.0 uses two types of settings, each with a clear purpose.

1. Context settings

Control how things look and behave, such as layout and visibility. Examples:
  • Layout and spacing.
  • Visibility of components.
  • Page behaviour.
  • Responsive behaviour by device size.
  • SEO settings.

2. Data settings

Control what content, values, and features are used and shown, such as headings, badges, and toggles. Examples:
  • Text and labels.
  • Feature toggles.
  • Upsells and cross-sells.
  • Store copy and messaging.
All settings are optional. If a setting is not defined, the cart automatically falls back to a built-in default.

3. Configuration levels and how inheritance works in practice

1. Context settings (@context)

Use @context when you want to control layout, behaviour, or visual presentation of cart pages.

Key format

@context.<context>.<setting>[/<modifier>] = value

Context (<context>)

Defines where the setting applies:
  • catalogue
  • configure
  • recommendations
  • basket
  • auth
  • billing_details
  • checkout
  • confirmation
Using * (global default) applies the setting everywhere unless overridden.

Setting (<setting>)

Defines what you are changing, for example:
  • productImages
  • productListLayout
  • zeroPriceDisplay

Modifier (/<modifier>, optional)

Used for responsive behaviour:
  • sm – Mobile
  • md – Tablet
  • lg – Desktop
If no modifier is used, the setting applies to all viewports. To switch to Cart 2.0 and implement context settings, provide the following JSON in your UI Metadata:
{
  "cart": {
    "storefront_url": "https://{custom-domain}/order/shop"
  }
}
UI Metadata for context settings

Example 1: Show or hide product images

Global default: show product images everywhere. JSON Example:
{
  "@context.*.productImages": "visible"
}
On the configure page: hide product images. JSON Example:
{
  "@context.configure.productImages": "hidden"
}
Result:
  • Catalogue, basket, checkout, etc. > product images are visible
  • Configure page > product images are hidden
If this is set at the brand level, all products inherit it unless overridden at the category or product level.
Image hidden in configure page

Example 2: Display “0.00” prices as “Free”

Show “Free” instead of 0.00 across all contexts. JSON Example:
{
  "@context.*.zeroPriceDisplay": "label"
}
  • "label" > displays Free
  • "numeric" > displays 0.00
This applies globally, but can be overridden for specific categories or products.
Display price as Free

Example 3: Change product list layout by viewport

Default: 4 columns on catalogue (all viewports). JSON Example:
{
  "@context.catalogue.productListLayout": "4-col"
}
Default: 3 columns on catalogue (all viewports). JSON Example:
{
  "@context.catalogue.productListLayout": "3-col",
}
Mobile (sm): switch to 1 column. JSON Example:
{
  "@context.catalogue.productListLayout/sm": "1-col",
}
Tablet (md): use 2 columns. JSON Example:
{
  "@context.catalogue.productListLayout/md": "2-col"
}
Behaviour:
  • Desktop > 3 columns
  • Tablet > 2 columns
  • Mobile > 1 column
This allows responsive layouts without custom code.
4 column product list layout

SEO Settings

SEO settings in Upmind let you define meta information at three scope levels (Brand, Product Category, and Product) across any context. You can customise page titles, descriptions, and other metadata to match different parts of your storefront. Users can also override SEO metadata at any level, so a specific product or category can have its own meta details that take priority over broader brand-level defaults. JSON Example: Overriding the SEO page title across your brand.
{
  "@context.*.seoTitle": "Build YOur Website | Top Hosting Services"
  "@context.configure.seoDescription": "Build YOur Website | Top Hosting Services"
}
Appendix: SEO Settings
SettingDescription
seoTitlePage <title> tag.
seoDescriptionMeta description for search engines.
seoCanonicalCanonical URL for the page.
seoOgTitleOpen Graph title for social sharing.
seoOgDescriptionOpen Graph description for social sharing.
seoOgImageOpen Graph image URL for social sharing.
seoTwitterTitleTwitter card title.
seoTwitterDescriptionTwitter card description.
seoTwitterImageTwitter card image URL.
Appendix: UI Properties
PropertyDescriptionDefaultEnum ValuesContextsScope
activeCategoryBadgeControls whether the badge is displayed on the currently active category in the catalogue.visiblevisible | hiddencataloguebrand
activeCategoryDescriptionControls whether the description for the currently active category is shown in the catalogue.visiblevisible | hiddencataloguebrand
basketFieldsControls whether custom fields are visible in the basket and checkout pages.hiddenvisible | hiddenbasket (Locked), checkoutbrand
basketItemsControls whether the list of individual basket items is shown during checkout.hiddenvisible | hiddencheckoutbrand
basketSummaryControls whether the order summary panel is displayed in the basket and authentication contexts.visiblevisible | hiddenauth, checkout (Locked)brand
basketTaxesControls whether taxes are shown as a separate line item or consolidated into the order total.consolidatedconsolidated | visiblebasket, auth, checkout, confirmationbrand
billingDetailsControls whether customers can edit their billing details during checkout, or whether those fields are read-only.readonlyreadonly | editablebilling_details (Locked), checkoutbrand
breadcrumbsControls how breadcrumb navigation is displayed across cart pages, with options for full, condensed, or hidden display.parenthidden | condensed | parent | visibleallbrand, product category, product
categoryBadgeControls whether a custom badge is shown on category cards in the catalogue.visiblevisible | hiddencataloguebrand, product category
categoryExcerptControls whether the short description beneath a category card is visible in the catalogue.visiblevisible | hiddencataloguebrand, product category
categoryIconControls whether icons are shown alongside category names in the catalogue.hiddenvisible | hiddencataloguebrand, product category
categoryImageFallbackControls whether a fallback placeholder image is shown when no category image has been uploaded.visiblevisible | hiddencataloguebrand, product category
categoryImageRatioSets the aspect ratio used for category images displayed in the catalogue.1:11:1 | 3:2 | 4:3 | 16:9 | 18:6 | autocataloguebrand, product category
categoryImagesControls whether images are shown on product category cards in the catalogue.hiddenvisible | hiddencataloguebrand, product category
categoryListControls whether categories are displayed as a static grid or a scrollable carousel.gridcarousel | grid | grid-facetcatalogue, recommendationsbrand, product category
categoryListLayoutSets the number of columns used when categories are displayed in a grid layout.3-col1-col | 2-col | 3-col | 4-col | 5-col | 6-colcatalogue, recommendationsbrand, product category
iconVariantSets the visual style of icons used throughout the storefront, such as line, solid, duotone, or duocolor.lineline | solid | duotone | duocolorallbrand
optionGroupDescriptionControls how descriptions for option groups are displayed, as a tooltip, inline beneath the label, or hidden entirely.tooltiptooltip | inline | hiddenconfigurebrand, product category, product, option category
optionGroupDividersControls the style of divider lines shown between option groups on the product configuration page.hiddenhidden | solid | dashed | dottedconfigurebrand, product category, product
optionGroupSpacingControls the amount of vertical spacing between option groups on the product configuration page.42 | 4 | 6 | 8 | 10configurebrand, product category, product
optionItemBenefitsControls whether benefit lists are shown alongside individual selectable product options.visiblevisible | hiddenconfigure, basket, checkoutbrand, product category, product, option category, option
optionItemDescriptionControls how descriptions for individual option items are displayed, inline, as a tooltip, or hidden.inlinetooltip | inline | hiddenconfigurebrand, product category, product, option category, option
optionSelectorControls the component used to display and select sub-product options, such as a radio grid, radio rows, or dropdown.radio-rowsradio-grid | radio-rows | select | select-groupedconfigurebrand, product category, product, option category
optionSelectorGridSets the number of columns in the option selector when using the radio-grid layout.2-col1-col | 2-col | 3-col | 4-colconfigurebrand, product category, product, option category
optionSelectorIconsControls whether icons are shown alongside each selectable option in the option selector.visiblevisible | hiddenconfigurebrand, product category, product, option category
optionUpsellsControls whether upsell suggestions for product options are shown in the basket and checkout.visiblevisible | hiddenbasket, checkoutbrand, product category, product, option category
paymentGatewaysCapSets the maximum number of payment methods displayed before a “show more” option appears at checkout.51 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | nonecheckoutbrand, product category, product
productAnchorPriceControls whether the original or reference price is shown alongside the current product price.visiblevisible | hiddencatalogue, configure, recommendationsbrand, product category, product
productBadgeControls whether promotional or informational badges are shown on product cards.visiblevisible | hiddencatalogue, configure, recommendationsbrand, product category, product
productBenefitsControls whether the benefits list is shown on product cards in the catalogue and recommendations.visiblevisible | hiddencatalogue, recommendationsbrand, product category, product
productCategoryControls whether the category label is shown on individual product cards throughout the cart.hiddenvisible | hiddencatalogue, configure, recommendationsbrand, product category, product
productConfigFieldsSummaryControls whether a summary of completed configuration fields is shown on the product configuration page.hiddenvisible | hiddenconfigurebrand, product category, product
productConfigOptionsSummaryControls whether selected option details are shown in the configuration summary panel.visiblevisible | hiddenconfigure, basketbrand, product category, product
productConfigSummaryControls whether the overall configuration summary is shown during product setup and in the basket.visiblevisible | hiddenconfigure, basket (Locked)brand, product category, product
productDescriptionControls how the full product description is displayed, fully visible, clamped to a set number of lines, or hidden.clampedvisible | hidden | clampedconfigurebrand, product category, product
productDescriptionClampSets the number of lines shown before the product description is clamped and truncated.33 | 4 | 5 | 6 | 7 | 8configurebrand, product category, product
productExcerptControls whether the short product description is shown on catalogue and recommendation cards.visiblevisible | hiddencatalogue, recommendationsbrand, product category, product
productImageFallbackControls whether a placeholder image is shown when no product image has been uploaded.visiblevisible | hiddencatalogue, configure, recommendations, basket, confirmationbrand, product category, product
productImageRatioSets the aspect ratio used for product images across catalogue, configuration, basket, and confirmation pages.1:11:1 | 3:2 | 4:3 | 16:9 | 18:6 | autocatalogue, configure, recommendations, basket, confirmationbrand, product category, product
productImagesControls whether product images are shown across catalogue, configuration, basket, and confirmation pages.visiblevisible | hiddencatalogue, configure, recommendations, basket, confirmationbrand, product category, product
productImagesStyleControls how multiple product images are displayed, such as a single image, carousel, or grid.autosingle | carousel | grid | autocatalogue, configure, recommendations, basket, confirmationbrand, product category, product
productListControls the overall display style for the product listing, such as a standard grid or domain-aware catalogue format.gridgrid | carousel | daccatalogue, recommendationsbrand, product category
productListLayoutSets the number of columns used when products are displayed in a grid layout.3-col1-col | 2-col | 3-col | 4-colcatalogue, recommendationsbrand, product category
productNativeRecommendationsControls whether Upmind’s built-in product recommendations are shown on the recommendations page.visiblevisible | hiddenrecommendationsbrand, product category, product
productOrientationControls whether product cards are displayed in a vertical or horizontal orientation.verticalvertical | horizontalcatalogue, recommendationsbrand, product category, product
productPriceSummaryControls whether the pricing summary is shown on product cards in the catalogue and recommendations.visiblevisible | hiddencatalogue, recommendationsbrand, product category, product
productStyleControls the visual style of product cards, either as flush (borderless) or carded (with border and background).flushflush | carded | flush-cardedcatalogue, recommendationsbrand, product category, product
productTermSelectorControls whether billing term options are shown directly on product cards in the catalogue, recommendations, and basket.hiddenvisible | hiddencatalogue, recommendations, basketbrand, product category, product
templateSets the page layout for a given context, defining how content and sidebars are structurally arranged.undefinedallbrand
termSelectorControls the component used to present billing term options to customers, such as a radio grid, radio rows, or dropdown.radio-gridradio-grid | radio-rows | selectconfigurebrand, product category, product
termSelectorGridSets the number of columns in the term selector when using the radio-grid layout.2-col1-col | 2-col (default) | 3-col | 4-colconfigurebrand, product category, product
termSelectorSummaryControls whether the billing cost summary is shown beneath the selected billing term on the configuration page.visiblevisible | hiddenconfigurebrand, product category, product
themeSets the named theme applied to the storefront, linking it to the corresponding CSS variable definitions in Brand Tokens.defaultdefaultallbrand
trustMessagingControls whether the trust messaging section is shown on the configuration, basket, and checkout pages.visiblevisible | hiddenconfigure, basket, checkoutbrand, product category, product
zeroPriceDisplayControls whether products with a zero price are displayed as 0.00 or as Free.labelnumeric | labelcatalogue, configure, recommendations, basket, auth (Locked), checkout (Locked), confirmation (Locked)brand, product category, product, option category, option
Locked - This means that some properties have forced values in certain contexts.

2. Data settings (@data)

Use @data when you want to control content, relationships, or feature toggles. Data settings define what the cart shows or enables, rather than how it looks. They can also vary by context and viewport modifier, so the same data property can have different values on mobile, tablet, or desktop. Key format:
@data.<setting>[/<modifier>] = value
For example:
  • @data.storeHeading applies the default value.
  • @data.storeHeading/md applies the value on tablet.
  • @data.storeHeading/lg applies the value on desktop.
Data settings do not use context wildcards.
This makes it possible to customise store copy and other data-driven content to different screens while keeping the configuration centralized. To switch to Cart 2.0 and implement data settings, provide the following JSON in your UI Metadata:
{
  "cart": {
    "@data.storeUrl": "https://{custom-domain}/order/shop"
  }
}
UI Metadata for data settings

Example 1: Set basic store copy

JSON Example:
{
  "@data.storeHeading": "Welcome to Example Hosting",
  "@data.storeSubHeading": "Choose the right plan for your website.",
}
This controls user-facing text displayed in the cart.
Heading and subheading

Example 2: Disable the catalogue

JSON Example:
{"@data.catalogueDisabled":true}
When enabled, the catalogue is hidden, and users can only access individual product pages directly.
When catalogue is disabled, it will take you to the basket screen

Example 3: Upsell a product option within the basket

Full Domain Protection. JSON Example:
{
	"@data.optionUpsellEnabled": true,
	"@data.optionBadge": "Recommended",
  "@data.optionBenefits": [
    { "label": "Prevents hackers from stealing...", "icon": "check" },
    { "label": "Requires your approval via...", "icon": "check" },
  ],
}
This enables an in-basket upsell for a product option, including badges and benefit messaging.
Cart 2.0 product recommendations
Appendix: Data Properties
PropertyDefaultTypeDescriptionContextsScope
billingDetailsDisabledfalseBooleanDisables the standalone billing details page entirely when set to true.billing_detailsbrand
catalogueDisabledfalseBooleanDisables the product catalogue page entirely, directing customers straight to individual product pages.cataloguebrand
categoryBadgeundefinedStringSets a custom badge label displayed on a product category card in the catalogue.catalogue, configureproduct category
clickwrapDisclaimerundefinedStringSets a custom disclaimer shown at checkout that customers must acknowledge before completing their purchase. Supports Markdown formatting.checkoutbrand
displayFontLinkundefinedStringSets a Google Fonts or custom font URL applied to display typography across the cart and portal.allbrand
optionBadgeundefinedStringSets a custom badge label displayed on a specific product option, such as “Best Value” or “Recommended.”configure, basket, checkoutoption category, option
optionBenefits[]ArrayDefines a list of benefit items shown alongside a product option, each with a text label and an icon.configure, basket, checkoutoption category, option
optionGroupIconundefinedStringSets a custom icon displayed next to an option group label in the product configuration page.configureoption category, option
optionGroupLabelundefinedStringOverrides the display label for an option group shown in the product configuration page.configure, basketoption category, option
optionImgUrlundefinedStringSets a custom image URL for a specific product option, displayed within the option selector alongside the option label.configure, basketoption category, option
optionUpsellEnabledfalseBooleanEnables or disables the option upsell feature in the basket and checkout.basket, checkoutbrand, option category, option
productBadgeundefinedStringSets a custom badge label or icon displayed on a product card, such as “Popular” or “New.”catalogue, configure, recommendationsproduct category, product
productBenefits[]ArrayDefines a list of benefit items shown on a product card across the catalogue, configuration, and recommendations pages.catalogue, configure, recommendationsproduct category, product
productNameundefinedStringOverrides the display name shown for a product in the cart, checkout, and confirmation pages.configure, basket, auth, checkout, confirmationproduct category, product
productsToBundle[]ArrayDefines a list of products to be automatically bundled together when a customer adds the parent product to their basket.catalogue, configure, recommendationsbrand, product category, product
productsToRecommend[]ArrayDefines a list of products to display as recommendations on the recommendations page.recommendationsproduct category, product
productUnavailableFALSEBooleanMarks a product as unavailable if it is sold out, removing it from purchase across the catalogue, configuration, and recommendations pages.catalogue, configure, recommendationsall
productUnavailableReasonundefinedStringSets the message shown to customers when a product has been marked as unavailable. E.g. Sold out.catalogue, configure, recommendationsall
storeBadgeundefinedStringSets a custom badge displayed on the catalogue page, typically used for store-level promotions or announcements.cataloguebrand
storeHeadingundefinedStringSets the main heading text displayed at the top of the product catalogue page.cataloguebrand
storeSubHeadingundefinedStringSets the supporting subheading text displayed beneath the main catalogue heading.cataloguebrand
storeUrlundefinedStringSets the URL that the store logo or header links to across all cart and portal pages.allbrand
trimTrailingZeroestrueBooleanControls whether trailing decimal zeroes are removed from displayed prices, for example showing £10 instead of £10.00.catalogue, configure, recommendations, basket, authall
trustMessagingMarkdownundefinedStringSets custom trust messaging shown on the configuration, basket, and checkout pages. Supports Markdown formatting for security assurances, guarantees, or other reassurance copy.configure, basket, checkoutbrand, product category, product

3. Configuration levels and how inheritance works in practice

  1. You can define settings at different scopes. The cascade order (most specific > least specific):
  • Option — Settings on a specific sub-product option
  • Option Category — Settings on an option group
  • Product — Settings on a specific product
  • Product Category — Settings on a group of products
  • Brand — Your overall brand/storefront-level default
  • System Default — The built-in default value if nothing else is set
For every product, Cart 2.0 resolves settings using a fallback chain:
product → category → brand → internal default
This means:
  • The most specific setting always wins.
  • You only override what you need.
  • Everything else is inherited automatically.
If you define just one key at the product level, all other settings will still come from the category or brand.
  1. At each level, it looks for:
  • @context.<contextId>.<setting>
  • If not found, @context.*.<setting>
  • If still not found, the built-in default is used
Because missing values are filled in automatically:
  • You never need to duplicate full configurations.
  • You can safely override only what matters.
  • Defaults remain consistent across the cart.
This keeps configuration clean, predictable, and scalable, even across large product catalogs.

Complete example

The following JSON configuration brings together a range of context and data settings into a single working UI Metadata block. It covers layout, content, visibility, and behavior across multiple pages, and demonstrates how global defaults and page-specific overrides work together. JSON Example
{
  "cart": {
    "storefront_url": "https://store.yourdomain.com/order/shop"
  },

  "@context.*.theme": "yourbrand",
  "@context.*.zeroPriceDisplay": "label",
  "@context.*.breadcrumbs": "hidden",
  "@context.*.productImages": "visible",
  "@context.*.trustMessaging": "visible",

  "@context.*.template": "two-column-ltr",
  "@context.auth.template": "canvas-card",
  "@context.configure.template": "two-column-rtl",
  "@context.basket.template": "two-column-ltr",
  "@context.checkout.template": "two-column-ltr",
  "@context.confirmation.template": "full",

  "@context.catalogue.productListLayout": "3-col",
  "@context.catalogue.productListLayout/sm": "1-col",
  "@context.catalogue.productListLayout/md": "2-col",
  "@context.catalogue.productStyle": "carded",
  "@context.catalogue.productImages": "visible",
  "@context.catalogue.productBenefits": "visible",
  "@context.catalogue.productAnchorPrice": "visible",
  "@context.catalogue.productBadge": "visible",
  "@context.catalogue.categoryImages": "visible",
  "@context.catalogue.categoryListLayout": "3-col",

  "@context.configure.productImages": "hidden",
  "@context.configure.optionSelector": "radio-grid",
  "@context.configure.optionSelectorGrid": "2-col",
  "@context.configure.optionSelectorIcons": "visible",
  "@context.configure.termSelector": "radio-grid",
  "@context.configure.termSelectorGrid": "2-col",
  "@context.configure.termSelectorSummary": "visible",
  "@context.configure.productConfigSummary": "visible",
  "@context.configure.productConfigOptionsSummary": "visible",

  "@context.basket.basketSummary": "visible",
  "@context.basket.basketTaxes": "consolidated",
  "@context.basket.trustMessaging": "visible",

  "@context.checkout.basketItems": "visible",
  "@context.checkout.basketSummary": "visible",
  "@context.checkout.paymentGatewaysCap": "3",
  "@context.checkout.trustMessaging": "visible",
  "@context.checkout.billingDetails": "editable",

  "@context.recommendations.productStyle": "carded",
  "@context.recommendations.productImages": "visible",
  "@context.recommendations.productNativeRecommendations": "visible",

  "@data.storeHeading": "Find the Right Plan for You",
  "@data.storeSubHeading": "Simple pricing, no hidden fees.",
  "@data.storeBadge": "New Plans Available",
  "@data.storeUrl": "https://store.yourdomain.com",
  "@data.displayFontLink": "https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap",
  "@data.trustMessagingMarkdown": "🔒 Secure checkout · 30-day money-back guarantee · 24/7 support",
  "@data.clickwrapDisclaimer": "By completing your purchase, you agree to our [Terms of Service](https://yourdomain.com/terms) and [Privacy Policy](https://yourdomain.com/privacy).",
  "@data.trimTrailingZeroes": true
}

Error handling and invalid values

Cart 2.0 does not throw hard errors when an invalid value is used in UI Metadata. Instead, it silently falls back to the built-in default for that setting and ignores the unrecognized value. This means a typo or unsupported value will not break your storefront, but the setting will have no visible effect, which can be difficult to spot. JSON Example:
{
  "@context.catalogue.productListLayout": "5-col"
}
5-col is not a valid value for productListLayout. Therefore, Cart 2.0 will ignore it and fall back to the default 3-col layout. No error will appear in the UI. Common mistakes to watch for:
  • Misspelled property names (e.g. produtImages instead of productImages): The setting is silently skipped.
  • Using a value outside the accepted enum (e.g. "visible" on a property that only accepts column values).
  • Missing or extra commas in your JSON: This will cause the entire UI Metadata block to fail to parse, reverting all settings to defaults
  • Applying a context that does not support the setting (e.g. using @context.confirmation.optionSelector): The setting is ignored.
The safest way to confirm a setting is working is to check the storefront visually after saving, and cross-reference the property’s accepted values in the UI Properties appendix and Data Properties appendix.