Maurice Posted June 5, 2003 Posted June 5, 2003 Hi, Some product needs to be limit in the quantity that customers can order. I played a little with application_top.php and I changed: $cart->add_cart($HTTP_POST_VARS['products_id'][$i], $HTTP_POST_VARS['cart_quantity'][$i], $attributes, false); into //Cart Quantity always 1 $cart->add_cart($HTTP_POST_VARS['products_id'][$i], $HTTP_POST_VARS['cart_quantity'][1], $attributes, false); But that gives strange behaviour when you have more then one different products in the cart. A good idea maybe would be to have an extra field in the productstable called maxorderquantity or something like that. Hopefully someone can help me out here. Kind regards, Maurice
aperfecthost Posted September 12, 2003 Posted September 12, 2003 I am trying to do the same thing in our cart. I need a few of the products limited to a max. # of qty in cart. For instance, customers may only order a maximum of 25 of one item, but can order 500 of another. Help anyone!?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.