How to use Shopify Product Add To Cart with PageFly

About Product Add to Cart ElementClick to copy

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 ElementClick to copy

  • 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 Access Product Add To Cart Element

How To Configure Product Add To Cart ElementClick to copy

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 ConfigurationClick to copy

Product Source

2 options as explained above: Auto and Custom Product.

  • 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.

Product Source in General Setting of Product Add to Cart element

 

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
After Add To Cart Action
Button Type

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

Button Type
Button Text

Enter the text to appear on the button (e.g., “Add to cart“)

Button Text
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.

Added Text
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 ConfigurationClick to copy

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.

Styling Configuration in Product Add to Cart element

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 CasesClick to copy

1. Change Color Of The Add To Cart ButtonClick to copy

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 ButtonClick to copy

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 ButtonClick to copy

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 PracticesClick to copy

  • 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 QuestionsClick to copy

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.

Thank you for your feedback!

Navigate this category

Could not find the answer
to your question?

Chat with us
Great news! PageFly Help Center is now available in Japanese 🇯🇵. Explore now by switching the language in the Header section ☝️