Currency, omitting a value for minimum price (the default) allows the user to enter negative values which subtracts from their cart total. The attached patch avoids this problem by setting the default value of minimum price to zero. This patch was made against version 6.x-1.0-rc3.

Comments

marxarelli’s picture

ob3ron’s picture

That's a good catch, marxarelli!

I would also suggest adding a test to explicitly set the minimum value to zero after form submission, in case the admin is crazy enough to set it back to blank (or negative).