Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Commerce blocks

Product Recommendations

Customers discover relevant products based on browsing history and preferences through this block. Place it on any page to increase cross-selling.

Product Recommendations block.

Product Recommendations block.

Configuration

Add this table to your document to configure the block:

product-recommendations
CurrentskuABC-123 (example)
Recidrec-12345 (example)

Property descriptions

Currentsku: Current product SKU for recommendation context.

Recid: Recommendation ID for targeting specific recommendation types.

Important notes

  • Uses default configuration values if custom settings are missing or invalid.

Section metadata

Control the section styling, spacing, and layout that wraps your commerce block. All properties are optional:

section-metadata
Stylelight (optional)
Paddingmedium (optional)
Marginsmall (optional)
Column Width30% (optional)
Gapsmall (optional)

Learn more: See the Section Metadata guide for all available values and the Page Metadata guide for SEO and caching options.