Hi,
I want to add ADD TO CART button to the collection pages and wherever the products are displayed, can anyone please suggest me a solution?
Thanks
A user seeks to add an “Add to Cart” button to collection pages in the Impulse Shopify theme.
Proposed Solution:
<div class="product-item--price"> element</div> tagCurrent Status:
Outstanding Issue:
The discussion remains open, awaiting CSS code to properly style the newly added button.
Hi,
I want to add ADD TO CART button to the collection pages and wherever the products are displayed, can anyone please suggest me a solution?
Thanks
Step 1: Duplicate your current live theme
From your Shopify admin go to the Online Store and then click on Themes. To be secure, we recommend you duplicate your current live theme.
Click on actions, and from the drop-down menu choose duplicate. Once the duplicate is made, click on Actions again, but this time choose Edit code.
Step 2: Snippets directory
From the navigation menu to the left, scroll down to the Snippets directory and click on product-grid-item.liquid, or something similar to that. Some of the potential names of the file are
A new window should appear on the right side of the code editor. Find
Hit Save.
I have added the above code as mentioned but the placement and button seems unusual ![]()
Can you share page url?
Add to cart is working, you have to css to set the button design
This actually works, do you have the css code for this?