How to set up the Add to Cart Widget in Customer Hub
Estimated 3 minute read
|
Updated Oct 31, 2025, 5:57 PM EST
Generating...
You will learn
You will learn
Learn how to display an interactive Add to Cart Widget on your Product Detail Pages. The customizable widget encourages shoppers to make a purchase or save a product for later when they have scrolled below the top of the Product Detail Page when the traditional Add to Cart button is no longer visible.
Customer Hub currently supports Shopify storefronts, including Shopify Headless. Additional eCommerce platform support is planned.
For feedback about Customer Hub functionality, email customerhub@klaviyo.com.
Before you begin
Before you begin
This guide covers how to enable the Add to Cart Widget on your site. Before proceeding, ensure that you have the Customer Hub feature enabled in Klaviyo and the Favorites Extension enabled.
Learn more about Customer Hub.
Overview
Overview
The Add to Cart Widget provides a consistent CTA to purchase when shoppers scroll below the fold on product detail pages, guiding customers through their purchase journey. It captures shopper attention by animating from a minimal widget icon into an expanded description of the current product with an "Add to Cart" callout. The widget displays only on product detail pages and can be customized to appear based on scroll depth and shopper attributes, ensuring it complements your existing site experience.
When Favorites is enabled, shoppers can also save items to their favorites list directly from the widget. 
When the widget is enabled, Web Chat notifications will still be accessible in a minimal notification bar, ensuring the shopper only sees the most important information at any given time.
How to set up Add to Cart Widget
How to set up Add to Cart Widget
- Navigate to Customer Hub in Klaviyo's left-hand navigation.
 - Select Design.
 - Select Widget and then the Add to Cart view at the top of the preview
 - From the Display menu you can toggle on the Add to Cart banner and select how far down the page a shopper must scroll before the widget appears (measured as a percentage of page height).
 - 
From the Targeting menu you can control which shoppers see the Add to Cart Widget based on their relationship with your brand:
- All visitors – show the widget to everyone who visits a product detail page.
 - Logged-in shoppers only – restrict the widget to authenticated users.
 - Specific shopper groups – target the widget to shoppers who belong to designated groups (e.g., VIP customers, newsletter subscribers).
 
 - Click Save to set your changes live.
 
Additional Resources
- How to style your Customer Hub
 - Getting started with web chat
 - How to show favorite buttons on your site and in Customer Hub
 
Was this article helpful?
Use this form only for article feedback. Learn how to contact support.