githubEdit

Grid recent

Overview

A grid block that displays the recently viewed products in a grid layout. Uses Alpine.js to display products from the recently viewed products store.

Block limitations

This is a private block. It is intended for use only within specific parent blocks and should not be added directly to sections.

Common use cases

  • Display recently viewed products to encourage customers to return to products they've seen

  • Adjust item count based on available space in your layout

  • Use responsive visibility to show different counts on mobile vs desktop

  • Product cards are dynamically loaded to prevent layout shifts

Compatible blocks

The following blocks can be nested within this block:

Block settings

Content

Setting
Description
Options

Item count

Maximum number of recently viewed products to display

Number input (default: 5)

Display

Setting
Description
Options

Visibility

Controls when the block is visible

• All (default) • Mobile only • Desktop only

Last updated

Was this helpful?