Skip to main content

WooCommerce Sticky Add to Cart Bar: Setup Guide

Overview

WooCommerce sticky add to cart keeps a compact buy bar—product image, name, price, variations, quantity, and an Add to Cart button—pinned to the top or bottom of the single product page as the shopper scrolls. This sticky add to cart WooCommerce setup keeps the buying action available on long product pages and mobile screens without replacing the native product form.

Sticky Add to Cart bar pinned to the bottom of a product page

Pro feature

Sticky Add to Cart is available in the Pro version. Configure it from Sale Badges → Store Features → Sticky Add to Cart.

How it works

A shopper opens a product, reads the description, scrolls through the gallery and reviews — and the real Add to Cart button is now far above the fold. Instead of scrolling back up, they use the sticky bar that followed them down the page: pick a variation, set the quantity, and add to cart without losing their place.

Your goalHow to set it up
Keep the buy button reachable on long pagesPosition: Bottom, Display Button: When Add to Cart is out of view — the bar appears only once the real button scrolls away.
Recover mobile salesEnable Display on Mobile, use the Icon (Bag) mobile button style, and keep variations/quantity available on mobile.
Highlight a discount at the point of decisionTurn on the Discount Badge (Percentage -25% or Amount -$10) next to the price.
Speed up variable productsKeep Show Variations and Show Quantity on so shoppers choose and add in one place.
Match your brand instantlyApply a Quick Template color preset (e.g. Sky Breeze, Sunset Blaze, Ocean Deep), then fine-tune individual colors.
Send shoppers straight to checkout flowSet Action Click → Go to Cart so the button adds and redirects to the cart.
Keep a minimal original page but nudge on scrollDisplay Button: After Scroll past "Add To Cart" so the bar only shows deeper down the page.
Handle out-of-stock items gracefullySet the Sold Out Button Text (e.g. Sold Out); toggle Display on Sold out Product to show or hide it.
Limit the bar to specific products or categoriesUse Targeting — e.g. Categories → Included, or Is on sale → Yes to show it only on discounted items.
Best for high-consideration & mobile

The sticky bar earns the most on long product pages and mobile, where the native Add to Cart button disappears fastest. On short pages it rarely triggers, so When Add to Cart is out of view keeps it from showing when it isn't needed.

Step-by-step setup

1. Open it from Store Features

Go to Sale Badges → Store Features, then on the Sticky Add To Cart card (under Product Page) click Configure.

The Store Features tab with the Sticky Add To Cart card

2. General settings

On the General tab, toggle Display Sticky Add To Cart on and set the core behavior. The Live Preview on the right updates as you go.

SettingWhat it does
ThemeStyle 1, Style 2 (Popover / Inline Selector), or Style 3.
Action ClickWhat the button does — Add Product to Cart, Go to Cart, or Scroll to the Add to Cart button (with an optional separate Action Click on Mobile).
Display ButtonWhen the bar appears — Show Always, After Scroll past "Add To Cart", or When Add to Cart is out of view.
Position / WidthTop or Bottom; Full or Custom width. Plus Container Spacing for desktop & mobile.
Button textAdd to Cart Button Text, a shorter Mobile label, Mobile Button Style (Icon (Bag) / Text), Show Close Icon on Mobile, and Sold Out Button Text.
Advanced Theme CompatibilityCustom Add to Cart / quantity CSS selectors — only if your theme's markup stops the bar syncing.

General tab: theme, action click, display button, position, and button text

3. Design

On the Design tab, apply a look and choose what shows:

SectionWhat it does
Quick TemplatesOne-click color presets (e.g. Coastal Teal, Sky Breeze, Sunset Blaze, Ocean Deep, Midnight Pulse, Berry Fusion). Editing a color switches it to Custom.
Theme ColorsFine-tune every element by area: General (background, name, price, discounted price), Add to Cart Button, Popover (Style 2), Variation Selector, and Quantity.
Discount BadgeShow a savings badge on discounted products — Badge Type (Percentage / Amount), Badge Text using {value} (e.g. -{value} or Save {value}), and its colors.
Layout & MotionSize (Small / Medium / Large), Animation Effect (Fade, Slide Up/Down/Left, Zoom, Bounce, Flip 3D), z-index, and Mobile Border Radius.
Visibility OptionsToggle the product image, name, price, regular (strikethrough) price, variations, quantity, and Add to Cart button — with separate on Mobile switches.

Design tab: quick templates, theme colors, discount badge, and visibility

4. Targeting, then Save

On the Targeting tab, choose where the bar shows and click Save.

SettingWhat it does
Display on Desktop / MobileTurn the bar on per device.
Display on Sold out ProductShow (or hide) the bar for out-of-stock items.
ProductsLimit it by All Products, Products, Categories, Tags, Stock status, Is on sale, or Brands — each Included / Excluded, combined with And / + Or Group.

Targeting tab: device toggles, sold-out option, and product rules

🧪 Example configuration

The bar shown in the screenshots:

SettingValue
ThemeStyle 1
Action ClickAdd Product to Cart
Display ButtonAfter Scroll past "Add To Cart"
Position / WidthBottom / Full
Color templateSky Breeze
Discount BadgeOn — Percentage, -{value}
Size / AnimationMedium / Slide Up
TargetingDesktop + Mobile, All Products

What customers see

As the shopper scrolls past the fold, a slim bar slides in from the bottom with the product, its price (and a savings badge if it's on sale), variation and quantity controls, and a prominent Add to Cart button — so buying never requires scrolling back up.

SEO, mobile UX, and conversion checklist

Keep the original WooCommerce product form in the page and use the sticky cart bar as a synchronized shortcut. The bar should reflect the selected variation, quantity, price, stock state, and discount; it should never display a stale price or an Add to Cart action for an unavailable variation. Use When Add to Cart is out of view on long pages so the bar does not compete with the native purchase area.

Test the mobile add to cart WooCommerce experience with one simple product, one variable product, an unavailable variation, an out-of-stock product, and a theme with a sticky header. Check safe spacing around browser controls, keyboard focus, screen-reader labels, close behavior, and the z-index. Track sticky-bar impressions, clicks, variation changes, add-to-cart success, cart visits, checkout starts, and completed orders. Keep product titles, descriptions, canonical URLs, prices, availability, and structured data in the underlying product page so the WooCommerce product page conversion layer does not interfere with search visibility. See Google’s Product structured data guidance for the data that should remain accurate.

Frequently Asked Questions

What is a WooCommerce sticky add to cart bar?

A WooCommerce sticky add to cart bar is a compact purchase control that stays visible while a shopper scrolls a single product page. Sale Booster can show the product, price, variations, quantity, discount badge, and Add to Cart button.

When should the sticky cart bar appear?

Use When Add to Cart is out of view for long product pages, or After Scroll past “Add To Cart” when the bar should appear after the native form. Show Always is suitable only when the persistent bar does not obstruct important content.

Does Sticky Add to Cart support variable products?

Yes. Keep Show Variations enabled when shoppers must select size, color, or another attribute before adding to the cart. Test each required option and confirm the sticky bar updates after a variation changes.

Can I show the sticky add to cart bar only on mobile or selected products?

Yes. Use the device settings and Targeting rules to include or exclude products, categories, tags, stock status, sale status, brands, or other supported conditions.

Next Steps