We Build Shopify Apps

Montreal-based Shopify experts cooking some Shopify apps.

Where to find the Add to Cart button selector?

Requires Ultimate Upsell for Shopify

You can find the Selector by inspecting element (right-click in your storefront, select "Inspect Element", and then use the pointer to on the Add to cart button). Search for the button class, and discard classes like "btn". If you have no idea, have a look at some popular theme's below.

find css selector add to cart

Each theme has its own CSS Selector for the Add to Cart button. Note that the . or # or anything in front of the words is very important to have a valid selector. Here's a list of some examples:

DEBUT: .product-form__cart-submit

SIMPLE: #AddToCart

Get In Touch

Tabarnapp's mission is to help you get the most of each visit on your Shopify store.

E: support@tabarnapp.com