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.
Access the Product Add To Cart element
Step 1: Click on the 2nd icon in the Element Catalog which is the Add Shopify element function
Step 2: Click on the Product Add To Cart element in the dropdown menu
Step 3: Drag and drop the element into the page editor and then start using it.
Note that you can search for this element by using the search function instead of finding it in the sidebar.
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:
- 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.
Select the element in the layout to see its parameters.
|General tab’s parameters|
|2.ATTRIBUTES||This is a parameter that all elements have. You can read more here.|
|3. VISIBILITY||This is a parameter that all elements have. You can read more here.|
|4. ANIMATION||This is a parameter that all elements have. You can read more here.|
|Styling tab’s parameters|
|1. BUTTON STATE||There are two options for the button state, which are Normal and Hover.|
|2. OVERALL||You can read about the OVERALL parameter here.|
|3. SPACING||You can read about the SPACING parameter here.|
|4. TYPOGRAPHY||You can read about the TYPOGRAPHY parameter here.|
|5. BACKGROUND||You can read about the BACKGROUND parameter here.|
|6. BORDER||You can read about the BORDER parameter here.|
|7. DISPLAY||You can read about the DISPLAY parameter here.|
|8. CUSTOM CSS||You can read about the CUSTOM CSS parameter here.|
To create a Buy It Now button which redirects to the Checkout page, you can check this article
Regarding the Add to cart button, there is an abandoned cart recovery tips and advice in this guide, you can refer it to know more to help you improve customer experience better.
Check the video tutorials below about the Product Add to cart element