Shopify elements - Product Add To Cart

231 views Man 0

Important: This feature is only available on the Pro plan

In this article, you will learn about another Shopify element named Product Add To Cart.

About Product Add To Cart element

The Product Add To Cart is designed to present the Add To Cart button for any product. This element is a must-have for any product listed on a page. When visitors click on this button, it will automatically add a product to their cart.

Note that you can search for this element by using the search function instead of finding it in the sidebar.

pagefly product add to cart element

Product Add To Cart element configuration

The Product Add To Cart element comes with plenty of parameters allowing you to fine-tune content appearance for the best possible conversion rate.

When you drag and drop the Product Add To Cart element into the editor page, there are 2 choices for the Product Source option for you to choose from such as:

  • Auto
  • Custom Product

Note that if you are in the Product Page and use the Product Add To Cart element, then you can choose the Product Source option. However, if you are in a Regular Page and use this element, the Product Source option is disabled and the Custom Product chosen by default.

If you choose Auto, then the product that was assigned when you created this product page will be displayed in the page editor. The Auto option is the default when you use the Product Add To Cart element.

shopify elements product add to cart

Select the element in the layout to see its parameters.


The parameters in the General and Styling tabs are specific for this element. Read about them in this article.

General tab’s parameters
1. CONTENT
  • Product Source: Product Source with 2 options as above: Auto and Custom Product.
  • 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 check out page
    • Go to custom link
  • Button Text: aside from a normal text like Add To Cart, you can customize your button text by entering any content you want.
  • Adding Text: Enter custom text when a product is added to cart.
  • Added Text: Enter custom text when a product added successfully.
  • Sold out Text: Enter custom text when a product is sold out.
  • Show icon: Depends on each variant, you can choose to display icon and its position to the left or right.
2.ATTRIBUTESThis is a parameter that all elements have. You can read more here.
3. VISIBILITYThis is a parameter that all elements have. You can read more here.
4. ANIMATIONThis is a parameter that all elements have. You can read more here.
Styling tab’s parameters
1. BUTTON STATEThere are two options for the button state, which are Normal and Hover.
2. OVERALLYou can read about the OVERALL parameter here.
3. SPACINGYou can read about the SPACING parameter here.
4. TYPOGRAPHYYou can read about the TYPOGRAPHY parameter here.
5. BACKGROUNDYou can read about the BACKGROUND parameter here.
6. BORDERYou can read about the BORDER parameter here.
7. DISPLAYYou can read about the DISPLAY parameter here.
8. CUSTOM CSSYou can read about the CUSTOM CSS parameter here.

Was this helpful?

Start your free 14-day trial
of PageFly

.myshopify.com
Don’t have Shopify store yet? Create store
×