Loading...

Conversion Rate Optimization Product Pages

Sticky Add-to-Cart on Mobile: Keep the Button in Reach

Sticky add-to-cart on mobile: the buy button should never be more than a thumb away.
← All 100 tips  ·  Tip 18 of 100  ·  83 days to Cyber Monday

A sticky add-to-cart button on mobile is the highest-leverage change most Shopify product pages never make. Here is the physics of the problem: your product page is long, because it has to be. Photos, variants, description, reviews, shipping details. The shopper scrolls down to get convinced, and the moment they are convinced, the buy button is three screens up. You built the desire and then hid the door.

On desktop nobody cares, the mouse travels for free. On a phone, every scroll is a thumb stroke, and the shopper who has to swipe back up past your size chart to find the button is a shopper you are actively testing for loyalty. Some pass the test. You are running a store, not a scavenger hunt, so stop administering it.

.ds-t018-wrap{max-width:760px;margin:36px auto;font-family:-apple-system,BlinkMacSystemFont,’Segoe UI’,Arial,sans-serif} .ds-t018-box{background:#f8f9ff;border:1px solid #e4e2f5;border-radius:14px;padding:26px 28px} .ds-t018-title{font-size:15px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#4F46E5;margin:0 0 4px} .ds-t018-sub{font-size:14px;color:#6b7280;margin:0 0 20px;line-height:1.5} .ds-t018-cols{display:flex;gap:26px;justify-content:center;align-items:flex-start} .ds-t018-col{text-align:center} .ds-t018-phone{width:170px;height:300px;background:#fff;border:2px solid #d9d6f0;border-radius:22px;margin:0 auto;position:relative;overflow:hidden} .ds-t018-ph-line{height:9px;background:#eeedf6;border-radius:4px;margin:8px 14px 0} .ds-t018-ph-img{height:70px;background:#e5e3f3;border-radius:8px;margin:12px 14px 0} .ds-t018-btn-lost{position:absolute;top:-34px;left:14px;right:14px;height:30px;background:#4F46E5;border-radius:8px;opacity:.35} .ds-t018-sticky{position:absolute;bottom:0;left:0;right:0;height:44px;background:#4F46E5;display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;font-weight:800;letter-spacing:.04em} .ds-t018-arc{position:absolute;bottom:-70px;right:-70px;width:200px;height:200px;border-radius:50%;border:2px dashed #7c76ec;opacity:.55} .ds-t018-name{font-size:13px;font-weight:800;color:#12102e;margin-top:12px} .ds-t018-pts{font-size:12.5px;color:#6b7280;line-height:1.5;margin-top:4px;max-width:190px} .ds-t018-foot{font-size:13px;color:#6b7280;margin:20px 0 0;line-height:1.55;text-align:center} @media (max-width:620px){ .ds-t018-cols{flex-direction:column;align-items:center} }

Where the thumb actually lives

Same product page, mid-scroll, decision made. The dashed arc is comfortable one-handed thumb reach.

Without sticky ATC
The buy button scrolled away three screens ago. The thumb has nothing to press.
ADD TO CART · $48
With sticky ATC
The bar rides the bottom edge, inside the reach arc, at every scroll depth.

The bottom edge of the viewport is the most reachable real estate on the phone. Rent it to your only button that makes money.

How to do it well

  • Show price and variant in the bar. A sticky bar that says “Add to cart” next to the selected size and price is a mini order summary. One that just says “Buy” makes the shopper scroll up anyway to double-check.
  • Appear on scroll, not on load. Let the bar slide in once the original button leaves the viewport. Two buy buttons on one screen looks desperate.
  • Handle unselected variants gracefully. Tapping the bar with no size chosen should open the variant picker, not throw an error toast.
  • Keep it thin. The bar is a courtesy, not a billboard. If it eats a quarter of the viewport, you have replaced one problem with another.

Many modern Shopify themes ship this as a toggle, buried under product page settings as “sticky add to cart” or “sticky buy bar”. Check your theme editor before you install anything. If your theme truly lacks it, it is a small snippet for any theme developer, and one of the rare cases where a single-purpose app earns its keep.

Then verify it on your own phone, one-handed, standing up. If your thumb can ride the whole page and buy without a single upward swipe, you are done. Tomorrow we will look at why mobile deserves this much attention in the first place, and what your analytics are hiding about it.

← All 100 tips  ·  Tomorrow, tip 19: one number in your analytics is averaging away your biggest problem.