Jump to content

Add to Cart button on category or list page?

Go to solution Solved by paul2009,

Recommended Posts

Posted

How do you add an Add to Cart button next to products in a list or category page? 

I have a situation where users need will go over a list selecting the inventory they need. Drilling down to every product detail page to add them to the cart will be very tedious.

I don't have much experience with SQSP commerce, so I apologize for the basic question.

No site exists for this question. If this isn't possible, I'll have to use a non-SQSP solution for the project.

Thanks!

Posted
22 hours ago, DV2 said:

How do you add an Add to Cart button next to products in a list or category page? 

You can add a Product Block for each product to a single page. Each block can have an add to cart button.

If this is too much work (for example, for 100s of products) then you'll need a code solution.

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted

Thanks Paul! 

It would be 150 to 200 items on a category page with 5 different categories, around 800 products total. 

I was actually planning on using your wishlist plugin on this project. Can you run queries on the sqsp product database or did you mean a code solution outside of sqsp? 

  • Solution
Posted (edited)
On 7/15/2022 at 9:49 PM, DV2 said:

did you mean a code solution outside of sqsp? 

I was referring to the use of some JavaScript to include Add to Cart buttons on the Product List Page so that customers do not need to visit individual Product Detail Pages.

UPDATE AUGUST 2023: Squarespace added a new 'Add to Cart Button' feature to the Product List Page (PLP).

This feature is only available on Squarespace 7.1. To access this feature, go to the Website/Pages panel and click into the Products page. From there, click Edit and then Edit Section. There you can enable the Add to Cart Button option.

image.thumb.png.b5e0890f8f8253a2e9fc084f3cea8f7c.png

 

 

Edited by paul2009
edited for clarity

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

  • 4 weeks later...
  • 8 months later...
Posted
1 minute ago, rainbowblessings222 said:

@paul2009 I tried your code and while it did populate the "add to cart" button in my product list page, when you click the button it just takes you to the description of the product. Can you help with this please?

Update: it adds to cart on mobile but not on desktop...hmm?

  • 6 months later...
Posted

@Paul2009

Hoping you can help, on my site (www.therum.company), when I use the 'add to cart buttons' feature that is the new Squarespace version of your code above, it adds 3 units to the cart for some reason? Any idea why this could be? It does the same with your code too?

I have it turned off currently.

Thanks

Tom

Posted
21 hours ago, TFantom said:

on my site (www.therum.company), when I use the 'add to cart buttons' feature that is the new Squarespace version of your code above, it adds 3 units to the cart for some reason?

I don't experience this issue on your site so this may be limited to the device you're using. As a troubleshooting step, clearing the browser cache may help or you could try using an incognito/private window. If this doesn't help, I recommend informing Squarespace directly by raising a ticket through Squarespace Customer Care 

Did this help? Please give feedback by clicking an icon below  ⬇️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted

@paul2009 

Thanks for the advice, I raised a ticket but it seems the issue is my Shop page code for my 'universal filter plug-in.  The problem is resolved when that code is removed. But I need the code obviously. 

I have contacted the owner of the code, but I'm not sure they know how to fix it.

Are you able to take a look? There doesn't seem to be anything obvious to cause the issue. I guess you can see the code, but if you need access, let me know.

Thanks

Tom

Posted
1 hour ago, TFantom said:

Are you able to take a look?

I can't reproduce the issue - with or without the Universal Filter - so I can't offer any further advice, except to suggest you were using the latest version - which I guess you've already done. If there is a filter issue, I'm not seeing one on other sites.

Either way, I'm sure Michael (the author) will investigate thoroughly if there is an issue on his side.

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

  • 2 months later...
Posted

Hello, 

 

I can't find the option to use the new PLP Cart Button feature. the website is www.vine.lu - is it a template issue?

 

Thank you!

Posted
1 hour ago, cmancuso said:

I can't find the option to use the new PLP Cart Button feature.

The feature is only available on v7.1. You are on v7.0. Many new features will only come to v7.1.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted

@cmancuso If you'd like to use the newer features, you can upgrade your Brine-family site to 7.1 using the update tool🙂

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

  • 5 months later...
Posted

Hey Paul, I'm excited about this but first I have a newbie question. What is a product list page? When go to add a page and browse the page layouts, there's nothing that says product or product list. I found a product section I can add, but when I edit it I can't find anything about adding an add to cart button.

Thanks,

Jax

Posted
2 hours ago, nomadicjax said:

What is a product list page?

A product list page is any page of a Store page that is not a product detail page. That would include the main Store page where you see a listing of products, category, and tag pages.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.