Free Shopify section

Free Shopify sticky add to cart section

A bar with the product photo, name, price and Add to cart that slides up from the bottom once a shopper scrolls past your theme’s own button.

Free Shopify section

Sticky add to cart

Tell us where to send it and the download starts straight away. We’ll email you the link too.

Mobile number (optional)
Free. No app to install.

We use your details to send this section. Privacy notice

Live preview · sample store

Sticky add to cart

Sample data. In your store it uses your products, prices and theme fonts. Nothing here is saved or sent.

Sticky add to cart: how the section looks in a Shopify store
Price
Free, no monthly fee
Works on
Product pages
In the theme editor
Pixel Caption Sticky cart
Made by
The Pixel Caption growth team
[ the problem ]

The problem it solves

On a phone, Add to cart sits near the top of the product page. By the time a shopper has read the description, the reviews and the size details, the button is several screens up, and some never scroll back.

Many sticky cart apps add a button of their own that skips your variant picker, cart drawer or bundle app. The bar then adds the wrong size, or opens a cart page your theme doesn’t use.

[ what it does ]

What it does

Keeps the price and Add to cart in reach on phones once shoppers scroll past your button.

  • Shows up when it’s needed

    The bar stays hidden while your own Add to cart is on screen. Once the shopper scrolls past it, the bar slides up from the bottom, and it slides away when they scroll back.

  • Presses your theme’s button

    Tapping the bar presses your theme’s own Add to cart, so the chosen size and colour, your cart drawer and any apps on that button keep working. Without one, it adds the variant and opens the cart.

  • Keeps up with the variant

    When the shopper picks another variant, the price on the bar changes with it, and the button switches to your Sold out text when that variant is out of stock.

  • Phones only, or every screen

    Show it on phones and computers, or on phones only. Pick the bar and button colours and the rounding to match your theme. The slide is switched off for shoppers who turn off motion.

[ settings ]

Settings in the theme editor

Every setting below is in the section’s code, pixelcaption-sticky-add-to-cart.liquid. Change any of them in Customize, with no code.

Section settings
SettingTypeDefault
Show onChoicePhones and computers
Button textTextAdd to cart
Sold out textTextSold out
Show product photoTick boxOn
Bar backgroundColour#ffffff
Bar textColour#121212
Button colourColour#121212
Button text colourColour#ffffff
Button roundingSlider, 0 to 24 px8 px
[ install ]

How to install

About five minutes in your Shopify admin, with no coding. These are the same steps as the guide in the .zip.

  1. Download the .zip

    Tap Download below. The .zip holds the section file, sections/pixelcaption-sticky-add-to-cart.liquid, and an install guide with a button that copies the code.

  2. Make a backup copy

    In Shopify admin go to Online Store, then Themes. Click the three dots next to your live theme and choose Duplicate, so you can publish the copy if anything goes wrong.

  3. Create the section file

    Click the three dots again and choose Edit code. Under the Sections folder click “Add a new section”, name it pixelcaption-sticky-add-to-cart and pick Liquid if Shopify asks.

  4. Paste the code

    Select everything in the new file and delete it. Paste the code from the section file in the .zip, then click Save.

  5. Add it to your page

    Back in Themes, click Customize and open product. Click “Add section”, pick Pixel Caption Sticky cart and click Save.

  6. Set it up

    Choose “Phones only” or “Phones and computers”. Pick the button colours to match your theme.

Good to know

  • The bar presses your theme’s own button, so size and colour choices, cart drawers and apps keep working.
[ related ]

Other free sections that work well next to this one.

[ free download ]

Get the sticky add to cart

One short form and the .zip is yours, with install notes. It comes by email too.

Sticky add to cart

  • The section file and install notes
  • Works in your theme editor, no app
  • No monthly fee
Free Shopify section

Sticky add to cart

Tell us where to send it and the download starts straight away. We’ll email you the link too.

Mobile number (optional)
Free. No app to install.

We use your details to send this section. Privacy notice

Need help installing?

Pixel Captionnow