Skip to main content
All CollectionsWidgetsCustom & Advanced Settings
How to Create a Collection Page Widget
How to Create a Collection Page Widget

Use Rebuy to surface Product Recommendations on Collection Pages

Dante Maxwell avatar
Written by Dante Maxwell
Updated this week

Adding a product recommendations widget to your collection pages is a smart way to boost engagement. It helps customers easily discover recently viewed items or best-selling products within that collection—making the shopping experience more personalized and efficient.

We recommend starting with the Recently Viewed endpoint, since it's relevant to any collection page.

Step 1: Create a Custom Widget

  1. In the Rebuy Admin, go to Widgets.

  2. Scroll down and click on Custom Widgets.

  3. Choose to create a carousel-style widget.

💡 Tip: Carousel widgets work well for showcasing product recommendations horizontally, making them easy to browse.

Step 2: (Optional) Add a Title to Your Widget

By default, custom widgets don’t include a title. If you want to add one:

  1. Open the Language tab in the widget settings.

  2. Enter your preferred widget title.

Step 3: Set the Data Source

The default data source pulls:

  • Specific products (if manually selected)

  • Followed by Rebuy’s AI Recommendations

To use Recently Viewed Products instead:

  1. Update the widget's Data Source to use the Recently Viewed endpoint.

  2. Click Save to apply your changes.

Step 4: Add the Widget to Your Collection Pages

For Online Store 2.0 Themes:

  1. Open your Shopify Theme Editor.

  2. Add a Rebuy App Block to the Collection Page template.

For Legacy Themes:

  1. Return to Step 3.

  2. Add a URL-based rule to your widget’s Data Source.

This allows you to:

  • Show the same “Recently Viewed” widget across all collection pages by using "collections" in the URL rule.

  • Or tailor recommendations based on the specific collection handle in the page URL.


Customize Widget Placement

By default, the widget will appear above the footer at the bottom of the page.

To place it elsewhere:

  • Enable Dynamic Placement Selectors in your widget settings.

📘 Learn more:


🎥 Video Demo

Add a brief description here explaining what the video demonstrates, e.g., “Watch how to set up a ‘Recently Viewed’ widget and place it on your collection pages.”

For more tips on getting the most out of your Collection Pages with Rebuy, check out our Collection Page Best Practices.

Did this answer your question?