Forums / General Questions / Adjust minimum quantity in shopping cart

Adjust minimum quantity in shopping cart

Views: 790

Results 1 to 5 of 5
17 Jan 2014, 5:00 PM
#1
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Adjust minimum quantity in shopping cart

Searched the web & the forums but can't find anything.
Does anyone know of a plugin or mod than would override the minimum quantity in the shopping cart.
Example:
I want to enforce a minimum quantity of "6" on a product but when I get to the shopping cart I'd like to increase or decrease it by some quantity other than the minimum.

Because of other mods my site requires I cannot use attributes.

Thanks,

17 Jan 2014, 7:08 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Adjust minimum quantity in shopping cart

You mean you want the customer to be able to reduce the quantity in the shopping cart to less than the "minimum"?

I'm pretty cetain that there is nothing currently available to allow that. If the "product units" is set to 1 (default), the quantity can always be increased at will, or decreased down to the minimum.

18 Jan 2014, 3:52 PM
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Adjust minimum quantity in shopping cart

linuxguy2:

Searched the web & the forums but can't find anything.
Does anyone know of a plugin or mod than would override the minimum quantity in the shopping cart.
Example:
I want to enforce a minimum quantity of "6" on a product but when I get to the shopping cart I'd like to increase or decrease it by some quantity other than the minimum.

Because of other mods my site requires I cannot use attributes.

Thanks,

gjh42:

You mean you want the customer to be able to reduce the quantity in the shopping cart to less than the "minimum"?

I'm pretty cetain that there is nothing currently available to allow that. If the "product units" is set to 1 (default), the quantity can always be increased at will, or decreased down to the minimum.

So, like gjh42 says, the minimum is intended to be exactly that, the minimum number of a product that must be purchased/added to the cart to even be able to get that product. The value of units allows you to increase by that number of units or decrease, but in the end if at least the minimum number of a product is in the cart, then ZC basically won't allow the sale of that item.

Now, if you want it to be that it is required to have a minimum quantity, but for the sake of ease, to default to some quantity greater than the minimum and allow decreasing to some smaller number, then that can be done with some additional coding/change in existing code.

The more flexible and robust it is made, the easier it will be to adjust for other factors.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

18 Jan 2014, 9:05 PM
#4
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: Adjust minimum quantity in shopping cart

ZC V1.5.1

I know this seems counterintuitive... :smile:

Basically what this person wants is to be able to Add by the min quantities while in the product pages and then adjust quantities by other amounts (usually less) in the shopping cart.
Personally I don't think this function is necessary but I thought I'd check. I think attributes would take care of this issue so I may look into using them with the checkbox mod.

gjh42
My work around was to set the min qty to "1" for the 10% of the items they want to do this with.

Thanks for your responses,

19 Jan 2014, 8:26 AM
#5
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Adjust minimum quantity in shopping cart

linuxguy2:

ZC V1.5.1

I know this seems counterintuitive... :smile:

Basically what this person wants is to be able to Add by the min quantities while in the product pages and then adjust quantities by other amounts (usually less) in the shopping cart.
Personally I don't think this function is necessary but I thought I'd check. I think attributes would take care of this issue so I may look into using them with the checkbox mod.

gjh42
My work around was to set the min qty to "1" for the 10% of the items they want to do this with.

Thanks for your responses,

Well, I think it would be best to try to use consistent terminology. The minimum quantity is a one time use value. Units are used throughout the quantity adjustment. The overall concept is not unusual; however, it is something that is specific and therefore would require some customization (like you are doing). Just realize ZC won't allow the final cart to have a quantity that doesn't fit the rules associated with minimum quantities and units. You may have to use some multiplier factor to "get started" and allow adjustments in the cart.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...