Minimum Purchase Quantity and Maximum Purchase Quantity Does Not Save

Started by PRO, October 13, 2011, 17:27:42 PM

Previous topic - Next topic

PRO

Goes back to zero on save.

the database has is like this
product_order_levels
Which stores it like  "100,1000"   for 100 minimum, and 1000 maximum

in admin/product/view.html

/* Get the minimum and maximum order levels */
            $min_order = 0;
            $max_order = 0;
            if(strstr($product->product_order_levels, ',')) {
               $order_levels = explode(',', $product->product_order_levels);
               $min_order = $order_levels[0];
               $max_order = $order_levels[1];
            }


I cant tell if thats correct or not

Milbo

is fixed in the svn, remember to use the table update tool, product table has been changed.

But I dont know if it works as expected, maybe it works for the cart, but not for product add and things like this, so you may test it closly, the better the examination and explanation, the better I can add the lacking things.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/