SScale Themedocs

Fixed add-to-cart bar that appears on scroll. Position, style, content, and synchronization with the main form.

Sticky Add to Cart

The Sticky Add to Cart bar is a fixed bar that appears when the visitor scrolls past the main purchase button on the product page. It ensures the add-to-cart button is always accessible, no matter where the visitor is on the page.

How it works

  1. The visitor lands on the product page and sees the standard purchase form
  2. When scrolling down (reviews, description, additional sections), the ATC button leaves the viewport
  3. The sticky bar appears with a smooth animation
  4. The visitor can add to cart from the sticky bar without scrolling back up
  5. When scrolling back up to the main form, the bar disappears
ℹ️The sticky bar only appears when the main ATC button is no longer visible. It disappears as soon as it comes back into view, avoiding any visual redundancy.

Settings

Position and trigger

SettingDescriptionOptions
EnableEnable the sticky barYes / No
PositionBar placementTop / Bottom of the screen
DesktopShow on desktopYes / No
MobileShow on mobileYes / No
💡The Bottom position is recommended for mobile (more accessible for the thumb) and the Top for desktop (more natural next to the header). You can also choose the same position for both.

Style and appearance

SettingDescriptionOptions
StyleBar presentationCompact / Full
Background colorBar backgroundColor palette
ShadowDrop shadowYes / No
BorderSeparator borderYes / No

and Full (image + title + variant + price + ATC button))

Displayed content

Full mode displays the following elements (each can be enabled or disabled):

ElementDescriptionDefault
Product imageProduct thumbnailYes
TitleProduct nameYes
PriceCurrent price (and compare-at)Yes
Variant selectorVariant dropdownYes
Quantity selectorQuantity fieldNo
ATC buttonAdd to cart buttonAlways

Compact mode displays only the price and ATC button.

Synchronization

The sticky bar is fully synchronized with the main product form:

ActionBehavior
Change variant in the formThe sticky bar updates (variant, price, image, availability)
Change variant in the sticky barThe main form updates
Change quantitySynced both ways
Sold-out variantThe sticky bar ATC button becomes inactive
Product sold outThe sticky bar shows "Sold out"
⚠️If you use bundles on the product page, the sticky bar displays the single product price (not the bundle price). Bundles have their own add-to-cart system.

Mobile behavior

On mobile, the sticky bar is particularly important because the product page is long (stacked layout). A few specifics:

AspectDesktopMobile
Default positionTopBottom
Variant selectorInline dropdownFullscreen dropdown
Bar height~60px~56px
Safe areaStandardRespects iOS safe area (notch)

Animation

The sticky bar appears and disappears with a smooth animation:

PropertyValue
TypeSlide + Fade
Duration300ms
Easingease-out (appear) / ease-in (disappear)
GPUAccelerated (transform + opacity)

The animation automatically respects prefers-reduced-motion: if the visitor has disabled animations in their system settings, the bar appears/disappears instantly.

Integration with the cart drawer

When the visitor clicks the ATC button on the sticky bar:

  1. The product is added to the cart via the AJAX API (no page reload)
  2. The cart drawer opens automatically
  3. The sticky bar remains visible behind the drawer
  4. The cart counter in the header updates

Best practices

  1. Always enable it: The sticky ATC bar is a proven conversion booster, especially on mobile
  2. Compact mode on mobile: To avoid taking up too much screen space
  3. Full mode on desktop: Take advantage of the space to display the image and title
  4. Bottom position on mobile: The thumb naturally reaches the bottom of the screen
  5. Test both positions: Depending on your audience, top may work better on desktop
💡For stores with multi-variant products, Full mode with the variant selector is essential. It allows the customer to change size or color directly from the sticky bar without scrolling back to the top of the page.