Author Topic: Minimum Purchase Quantity and Maximum Purchase Quantity Does Not Save  (Read 1976 times)

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10377
  • VirtueMart Version: 3+
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
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9997
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Minimum Purchase Quantity and Maximum Purchase Quantity Does Not Save
« Reply #1 on: October 13, 2011, 20:14:02 pm »
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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/