Hide 'Add to cart' button on collection page - Supply Theme

Solved

Hide 'Add to cart' button on collection page - Supply Theme

Joe220678
Tourist
11 0 1

I am looking for a solution to hide the 'Add to cart' button on COLLECTION page ONLY in Supply theme.

 

We want the 'Add to cart' button to remain on the product page only.

 

Thanks

Accepted Solution (1)
GemPages
Shopify Partner
5625 1261 1243

This is an accepted solution.

@Joe220678 

 

I would like to give you a solution to support you.

1. Go to Online Store -> Theme -> Edit code.

2. Open your theme.liquid theme file.

3. Paste the below code before </body>:

 

<style>
  body.template-collection a.product-grid-item form .btn{
     display: none;
  }
</style>

 

Hope my solution can work and support you!

Kind & Best regards!

GemPages Support Team.

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center

View solution in original post

Replies 7 (7)

GemPages
Shopify Partner
5625 1261 1243

Hello @Joe220678 

 

It's GemPages support team and glad to support you today.

To provide you with the most precise solution in this case, could you please share the home page link?

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
Joe220678
Tourist
11 0 1
GemPages
Shopify Partner
5625 1261 1243

This is an accepted solution.

@Joe220678 

 

I would like to give you a solution to support you.

1. Go to Online Store -> Theme -> Edit code.

2. Open your theme.liquid theme file.

3. Paste the below code before </body>:

 

<style>
  body.template-collection a.product-grid-item form .btn{
     display: none;
  }
</style>

 

Hope my solution can work and support you!

Kind & Best regards!

GemPages Support Team.

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
Joe220678
Tourist
11 0 1

That has worked perfectly. Thank you.

 

Is there a way to hide the 'Add to cart' button on the (More of this range) section on the product pages?

 

Link below:

Antique Brass 2 Gang 13A DP Ingot 2 USB Twin Double Switched Plug Sock – SE Home

Joe220678
Tourist
11 0 1

Is there a way to hide the 'Add to cart' button on the (More of this range) section on the product pages?

 

Link below:

Antique Brass 2 Gang 13A DP Ingot 2 USB Twin Double Switched Plug Sock – SE Home

Ujjaval
Shopify Partner
1242 197 213

add below code into theme.liquid file before closing </body> tag

<style>
form {
    display: none !important;
}
</style>

 

nourishedskinco
Excursionist
11 0 5

Hello,

I would like help with moving 'add to cart' closer to product on collection pages. When I have installed code mentioned previously it sits closer to the product underneath and is confusing. It also sits in different positions based on length of product description. Can I be moved next the product description & price? See examples...Screenshot 2024-09-14 at 11.39.32 am.png

 

Screenshot 2024-09-14 at 11.54.03 am.png