Product Add to cart

About Product Add to Cart Element

Summary: Shopify Add To Cart element is a must-have for any product listed on a page or product page. It presents the "Add to Cart" button, which allows visitors to quickly and easily add products to their shopping cart with just one click.

You can also watch this video tutorial:

How To Access Product Add To Cart Element

  • Step 1: Click on the “Elements” icon. Then, in the “Shopify” tab choose the Product add to cart

  • Step 2: Drag and drop the the element into the page editor

You also can use the search function to find this element quickly

How To Configure Product Add To Cart Element

The Product Add to Cart element offers a variety of parameters to optimize appearance for the best possible conversion rate.

Click on the element in the page canvas to access its parameters in the General and Styling tabs, which are specific to this element.

General Configuration

Product Source 2 options as explained above:

- Auto: If you're on the Product Page, the product assigned to this page will be displayed in the editor.

- Custom Product: Allows you to select a specific product to display. Note: The Product Source option is unavailable on Regular Pages.

After Add To Cart Action

There are 4 options after clicking on ATC button:

- Stay on the same page

- Go to cart page

- Go to checkout page

- Go to custom link

Button Type There are 3 types of buttons: Text Only, Text With Icon and Icon Only

Button Text Enter the text to appear on the button (e.g., "Add to cart")

Adding Text Enter custom text displayed when a product is being added to the cart.

Added Text Enter custom text displayed when a product is successfully added.

Sold out Text Enter custom text displayed when a product is sold out.

Enable Full Width Make the "Add to Cart" button span the full width of its container.

You can get further information about ATTRIBUTES, VISIBILITY, ANIMATION parameters.

Styling Configuration

In the Styling tab, you can set up and apply Global style for the Add to Cart button. This allows you to define a consistent style that can be applied across multiple elements on your site.

Read more about How to set up and how to use Global style here.

You also can customize how the button looks in the different states: Normal state, Mouse Over state, Active/Selected state, and Disabled state.

You can check more information about the PageFly Element Styling

Check out how to create a Buy It Now button which redirects to the Checkout page.

Common Cases

1. Change Color Of The Add To Cart Button

To alter the color of the Add to cart button, click on the Button > Styling tab. There are 2 parameters to settings for the color of the button:

  • Content color: select color for the button text

  • Background color: select color for the button’s background

2. Add Hover State For Add To Cart Button

Adding hover state for the Add to cart button will make it more active in liveview and more call to action. To achieve that, click on the button, go to Styling tab and switch to “Mouse over state” and then start to change color for the Content color and Background color.

3. Create A Sticky Product Add To Cart Button

To create a sticky "Add to Cart" button for a product, you need to create a section that contains the "Add to Cart" button element, then enable the "Sticky Top" function for that section. You can see the full details in the video below.

Tips And Best Practices

  • Use contrasting colors for the content and background in the Normal and Hover states to make the button stand out.

  • Keep the Add to Cart button on a single line for better visibility and user attention.

Frequently Asked Questions

1. What is a Product Add-To-Cart?

The Add to Cart feature allows shoppers to save items in their cart, continue shopping, and complete the checkout process later after selecting all their desired items.

2. What is the difference between Add-To-Cart and Order?

The cart is a temporary holding space where shoppers can store items they intend to purchase, modify, or remove. An order is the next step after the shopper finalizes their selections and provides shipping, delivery, and payment information.

3. What is the Add-To-Cart rate in marketing?

The Add to Cart Rate is the percentage of shoppers who add at least one item to their cart per session.

Last updated

Was this helpful?