Re: cart and fractional quantities
Well...anyway...after way too much time spent on this I have resolved my issues. For anyone who comes across this in the next 3 years...here is the answer:
open cart.php and make the following changes
remove the "floor()" functions in the "mode='add'" section
remove the following around line 270
if ($amount < $added_product["min_amount"]) {
func_header_location ("error_message.php?access_denied&id=31");
}
Now in removing the check for min_amount you may want reconsider that. I have no worries about inventory and do not maintain that. By default you minimum amount will be 1.
In addition to this I changed the stock text box for quantity with a drop down menu where I have determined the amount they can add to cart. This eliminates my concerns for user error when entering quantities.
Hope this helps save someone time in the future!
|