Hi guys,
Could you please guide me on how to add a cart button to every product on the collection page using the Debutify theme?
wesbite url www.homesector.eu
Thanks
A user seeks help adding an ‘add to cart’ button to product listings on collection pages in the Debutify theme.
Initial Solution Attempt:
product-card-grid.liquid and adding CSS codeproduct-grid-item.liquid insteadImplementation Issues:
Current Status:
Hi guys,
Could you please guide me on how to add a cart button to every product on the collection page using the Debutify theme?
wesbite url www.homesector.eu
Thanks
Hello There,
HI @ZestardTech thanks for reply. Unfortunately I dont have product-card-grid.liquid file.
Could it be under a different name ? Like product-grid-item ?
Kind regards
Hello @worldspawn
you can add code in product-grid-item.liquid
After adding the code at the bottom in product-grid-item.liquid
i want only icon like this one from google to appear
Thank u for helping me
Hello @worldspawn
Add this code and check.
form.addtocartbutton {
margin: 0 auto;
}
Update:
Cart appeared but not in designated place.
Products were initially displayed in a row of 4 are now appearing with only 3 products per row
Which text should i copy/paste for the google cart
Here’s the code which doesn’t move the icon
Thanks.
can you please explain me in further details. I couldn’t understand which code to paste and where