Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
YOURslipmat

Set minimum qty of product variant - how?

Recommended Posts

Hi there, 

How do I set a minimum order quantity per product variant? (f.e. if they select variant 2, the minimum number of products they can buy = 25)
I'm already looking for a solution for days, but just don't know how.

Hail to the King that has a solution!ūü§ī

Cheers - Luc

Share this post


Link to post

This would need to be a bespoke scripted solution that prevented the add to cart button from being clicked unless the minimum quantity rule was matched. 

However, it would still be possible for the user to adjust quantity in the basket view (could be scripted to deal with this) and also in the checkout (cannot be scripted to deal with). 


Please hit LIKE to share your appreciation of posts that are helpful or useful. 

The like button is somewhere over thereover-there.jpg

Of course, Likes don't pay the bills.. If you're looking for a Squarespace Developer you can hire me here

Share this post


Link to post
On 11/1/2019 at 11:19 AM, colin.irwin said:

This would need to be a bespoke scripted solution that prevented the add to cart button from being clicked unless the minimum quantity rule was matched. 

However, it would still be possible for the user to adjust quantity in the basket view (could be scripted to deal with this) and also in the checkout (cannot be scripted to deal with). 

Do you happen to know where one might find said script? I'm having the same issue. Some dude online is selling a plugin for $29...that's looking more tempting all the time lol

 

Thanks!

 

Share this post


Link to post

The code required to set a minimum order quantity is very straightforward, but as Colin said, the major issue is that the benefit is completely lost at the checkout stage. At that point, the potential customer can order items below your minimum quantity, leaving you with the additional admin of issuing a refund. 

The plugin you mention is no different. As the author points out in his demo video "There's no code that can be placed on the checkout page.. so customers could come into this quantity field and change the quantity [below the minimum]".


World-class Squarespace Developer and Squarespace Circle Leader with a strong reputation on the Squarespace Forum.
I'm trusted by hundreds of Squarespace users worldwide, including designers, freelancers, business owners and big agencies.

I can tackle anything from small tweaks to full websites and I'm available for short and long bookings (min. 1 hour).
Book via my website giving as much notice as possible. Note that I'm usually booked six weeks in advance for jobs longer than an hour.
Prebuilt Squarespace Extensions
Custom Squarespace Extensions: Tell me about the functionality you need

 

Share this post


Link to post

Create an account or sign in to comment

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


√ó
√ó
  • Create New...