Add cart button on collection pages Debutify theme

Topic summary

A user seeks help adding an ‘add to cart’ button to product listings on collection pages in the Debutify theme.

Initial Solution Attempt:

  • Support suggests editing product-card-grid.liquid and adding CSS code
  • User discovers their theme uses product-grid-item.liquid instead

Implementation Issues:

  • After adding the provided code, a cart icon appears but is mispositioned
  • Product grid layout breaks: displays only 3 products per row instead of the original 4
  • The cart icon resembles a Google icon rather than the intended design

Current Status:

  • Support recommends placing code “after a tags” with reference screenshots
  • User requests more detailed clarification on exactly which code to paste and where
  • Discussion remains unresolved with ongoing troubleshooting needed for proper button placement and grid layout restoration
Summarized with AI on November 18. AI used: claude-sonnet-4-5-20250929.

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

1 Like

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find product-card-grid.liquid > product-card-grid.liquid and paste this at the bottom of the file:

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

1 Like

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.


  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset > theme.scss.css and paste this at the bottom of the file:
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.

1 Like

Hello @worldspawn

you can add code after a tags.

can you please explain me in further details. I couldn’t understand which code to paste and where