Skip to main content
Design & customization

How to add a sticky add-to-cart bar

The sticky add-to-cart bar keeps your offers within reach as shoppers browse the product page. Its button can scroll back to the offers or add the selected offer directly to the cart. You can show it after shoppers scroll past the widget or from page load.

Enable the sticky add-to-cart bar

The sticky bar is configured per bundle inside the bundle editor.

  1. Open the bundle you want to edit.
  2. Open the Add-ons tab, then expand Sticky add to cart.
  3. Turn on Enable sticky add to cart.

When it is on, the section badge changes from Disabled to Enabled. The bar shows on the product pages where this bundle appears, so make sure the bundle is published and your widget is set to display on the right products.

Choose what the button does

Button action has two choices:

  • Scroll to the offers takes the shopper back to the widget to choose an offer.
  • Add the selected offer to cart shows the selected offer and adds it with its chosen products, gifts, and extras.

In add-to-cart mode, the bar follows changes to the selected offer, variants, quantities, subscriptions, and add-ons. Its total matches the widget footer. You can enable Show price, Show original price, Show savings badge, and Show price inside the button.

If a shopper still needs to choose a variant or fill a bundle slot, the button takes them to the widget to finish. With no offer selected, it prompts them to choose options. On themes that prevent a direct add, the button falls back to scrolling to the widget.

Choose when the bar appears

Under Show the bar, choose After the widget scrolls out of view or Always, from page load. Both work with either button action. Existing bars keep their after-scroll behavior unless you change it.

With Always selected, add-to-cart mode starts with your pre-selected offer and follows later selections. If you allow the page to load with no offer selected, shoppers must choose an offer before the bar can add it.

Choose a layout: Floating vs Fixed

Use the Layout option to pick how the bar sits on the page:

  • Floating - a centered card that sits inset from the edges with a small gap, and keeps rounded corners.
  • Fixed - a full-width bar pinned to the bottom edge, spanning edge to edge.

The two layouts treat corner rounding differently. Switching to Fixed forces the bar's corner radius to 0 so it can sit flush against the screen edges. Switching to Floating restores a rounded corner if the radius was at 0. You can fine-tune the corner radius afterward in the styling controls (see below), but Fixed is designed to stay square.

Show on desktop and mobile

Two checkboxes control where the bar appears:

  • Show on desktop
  • Show on mobile

Both are on by default. You can turn either off, for example to show the sticky bar only on mobile, where the original add-to-cart button is most likely to scroll out of view.

Set the title and button text

In scroll-to-offers mode, the sticky bar has two text fields:

  • Title - the text shown next to the button. It supports template variables, so you can insert dynamic values like {{product_title}} (the default), {{saved_percentage}}, or {{price_total}}. Use the variable inserter on the field to add them.
  • Button text - the label on the sticky button. The default is "Choose bundle".

Add-to-cart mode displays the selected offer's title and uses its own Add to cart button text field. The two button texts have separate translations, so changing one mode's wording does not overwrite the other.

Add the embedded countdown (optional)

You can show a countdown inside the sticky bar with the Show countdown in sticky bar checkbox.

This option requires the countdown timer to be enabled on the same bundle. If the countdown timer is off, the checkbox is disabled and cannot be selected. Once you enable the countdown timer, you can turn this on.

The embedded countdown reuses the compact title from your countdown timer settings, and its styling follows the sticky bar theme.

If you later turn the countdown timer off, the sticky bar's countdown is switched off automatically.

Style the sticky bar

Open the Sticky add to cart style group to adjust the appearance. The controls are grouped into accordions:

  • Background - solid color or gradient for the bar.
  • Container - border color, border width, corner radius, padding, and shadow.
  • Title - text color, font size, and font weight.
  • Button - background color, text color, font size, font weight, padding, and corner radius.
  • Product image - image size, corner radius, border width, and border color.
  • Countdown - background color, text color, font size, font weight, and padding. This group appears only when the embedded countdown is turned on.

To get a coordinated look quickly, use the preset color picker at the top of the section. It also offers Match sticky ATC corners to main widget, which sets the bar's corner radius to match your main bundle widget so the two feel consistent.

A note on corner radius

Remember that the Fixed layout forces a 0 corner radius. If you set a rounded radius in the Container styling and the corners still look square, check that the layout is set to Floating.

Was this article helpful?

Your feedback helps us improve our docs.

Thanks - we'll keep improving this article.

Want to chat with our team? Still have a question?

Still need help?

Our team is one click away. Send us a message and we'll get back to you.

We use a few cookies to keep this site working, measure how it is used, and power our chat widget when you open it. See our cookie policy.