Feature Tutorials · Tutorial 10 of 20

How to add a sticky add to cart bar on Shopify

Keep the add to cart button in view while shoppers scroll a product page, on desktop and mobile.

2:08 · Published on YouTube November 15, 2026

Theme editor App embeds panel with Sticky add to cart switched on, and the sticky bar along the bottom of a product pageDuration 2:08Watch on YouTube
Watch on YouTube

The video plays on YouTube. Nothing from YouTube loads on this page until you open it.

How to test the sticky bar on a phone

Open a product with two variants, select the second one, then scroll past the original Add to cart button. Use the sticky button and check the variant in the cart. Repeat on desktop if you enabled the bar for both devices.

If the bar never appears, check that the app embed is enabled on the published theme and that the chosen device is included. Scroll past the original button before testing. A cart progress bar serves a different purpose once the item is already in the cart.

Show progress toward a reward on the cart page.

Step by step

  1. Open Sticky add to cart in the app menu.
  2. Click Turn on in the theme editor. The editor opens on App embeds with Sticky add to cart already switched on.
  3. Choose where it shows (mobile and desktop, mobile only, or desktop only), the button text, whether to show the product image on desktop, and optional colors. Then save the theme.
  4. Back in the app, pick a bar style: solid, glass, outline or gradient.
  5. On your storefront, scroll past Add to cart and check that the bar appears and follows the selected variant, on desktop and on a phone.

Transcript

Sticky add to cart keeps the purchase button in view while shoppers scroll a product page. In this tutorial, you'll turn it on in your theme, choose its settings and style, and check it on desktop and mobile.

Open Sticky add to cart in the app menu. It's an app embed, so you turn it on in your theme editor, in three steps.

Click Turn on in the theme editor. The editor opens on App embeds, with Sticky add to cart already switched on, ready to save.

Choose where it shows: mobile and desktop, mobile only, or desktop only. Set the button text, whether to show the product image on desktop, and, if you like, its colors. Then save the theme.

Back in the app, pick a bar style: solid, glass, outline, or gradient, and its look, from your store style or the bar's own. The preview shows a product page, scrolled. Colors set on the embed in the theme editor still win.

Now check it. Scroll past Add to cart, and the bar appears. It follows the variant the shopper selects, shows sold out when it's unavailable, and uses your theme's own add to cart button, so quantity, subscriptions and your cart drawer work exactly as usual.

On phones, it stays clear of the home indicator, and shows the price and button. Switch the preview to mobile to see it.

A few things to know. Upsellano can't see whether the embed is on, because Shopify only shows app embed settings in the theme editor, so check it there. If a product page has no standard add to cart form, the bar stays hidden. And it works on supported Online Store two point oh themes, on product pages only.

Next, learn how to A/B test the way your offers look. Install Upsellano from the Shopify App Store, and subscribe for more tutorials.

Presentation A/B test page for the Snowboard volume deal offer: How A/B tests work, and the Challenger settings with Show heading, Heading, Layout and color fieldsNext tutorialHow to A/B Test Offer Headings and Styles on Shopify with Upsellano3:04 · Test a Challenger heading or style against your current offer, with prices and products unchanged, and read the results honestly.

Stuck on a step? See Support or email support@upsellano.com. All tutorials: Learn · YouTube channel.

Try it on your store.

Every feature is included on every plan. The Free plan has no trial and no time limit.

Questions? Email support@upsellano.com.