Contributions

Order Total Modules (Category Index)
Search: 

Maximum Product Quantity with Admin


# MAXIMUM Product Quantity with Admin 1.0


# A little history on this contrib:

It is based very very heavily on
MINIMUM Product Quantity with admin version 1.5 that was started by Mark Rickert
Contribution located at: http://www.oscommerce.com/community/contributions,2953


I needed to be able to limit specific products to a maximum purchase quantity, especially products on special or upsale at checkout.
This contributions puts a limitation of how many items a customer can purchase, also takes into account products with different attributes.
I wanted to only sell one of an item regardless of the options it had.
That way I could run a sale on an item but still give the customer a choice about what color or size they wanted.
With this contribution I can make sure they only get 1 T-shirt per order, but they can still get the size option they need.


So in the spirit of oscommerce and the gnu... I have not only modified the minimum quantity purchase, but I have shamelessly taken the documentation and just changed a few words and updated several queries and things.

I haven't tested the combo, but I beleive this will work well with minimum purchase quantity too!

Kayakbabe - 9 April 2006

Expand All / Collapse All

default NULL complete package 11 Feb 2008

If you want to use NULL as the default value for maximum product quantity and set individual levels via the admin please use this contribution.
This is a complete package to fix broken checkout and maximum quantity changing from null to 0 when editing a product.

The support thread link has also been updated.

the changes have been made to step 10 in kayakbabes and zlochkos contributions and also icludes the changes to talkingtowns tweak below.

Regards, web-junkies

Slight Tweak for Maximum Quantity to work on Checkout 6 Jan 2008
Select box in shopping cart instead of input field 13 Aug 2006
forum topic for limiting maxium quantity that can be purchased 26 May 2006
Maximum Product Quantity with Admin 9 Apr 2006

Note: Contributions are used at own risk.