This is a private block and can only be used within specific parent blocks. It is designed to work exclusively within the Slider block.
A dynamic product recommendations block that displays recommended products in a horizontal slider layout with scroll snap behavior. This block uses Alpine.js to asynchronously load product recommendations from Shopify's recommendation engine based on a source product. Products are displayed as horizontally scrollable cards with configurable widths and support for filtering by tags, cart status, and responsive visibility options.
| Setting | Description | Options |
|---|---|---|
| Show advanced settings | Reveals filter by tag, and visibility | Checkbox (default: false) |
| Setting | Description | Options |
|---|---|---|
| Intent | Recommendation type | • Related (default) |
| Product | Source product for recommendations | Product picker |
| Item count | Number of recommendations to display | Number (default: 5) |
| Filter by tag | Filter recommendations by a specific tag | Text input Visible when Show advanced settings is on |
| Show products in cart | Displays products even if they're already in the cart | Checkbox (default: true) |
| Setting | Description | Options |
|---|---|---|
| Width mobile | Width of each slider item on mobile | 5 - 100 % (default: 80) |
| Width desktop | Width of each slider item on desktop | 5 - 100 % (default: 20) |
| Setting | Description | Options |
|---|---|---|
| Visibility | Controls when the block is visible | • All (default) Visible when Show advanced settings is on |
Start by connecting your source repository and choosing the pages you want to publish.
You can then browse your documentation and ask questions about the content your team has shared.