Arpit Posted June 20, 2003 Posted June 20, 2003 Hey all, I just wanted 2 let you guys know the quantity text box has no validation in it, so you could even put "1.3" or "1.6" and so on as the number of products, the shopping cart calculates prices for 1.3 and 1.6 products which ur customers would not aperciate, i hope someone out there has seen this problem b4..if u have do u have a patch for this bug?? The late twentieth century has witnessed a remarkable growth in scientific interest in the subject of extinction ---------------------------------------------------- Arpit
Arpit Posted June 20, 2003 Author Posted June 20, 2003 haha few hours later i found the bug, all it needed was an "(int)" in the includes/classes/shopping_cart.php around line 99 so it looks like if ($this->in_cart($products_id)) { $this->update_quantity($products_id, (int)$qty, $attributes); The late twentieth century has witnessed a remarkable growth in scientific interest in the subject of extinction ---------------------------------------------------- Arpit
Recommended Posts
Archived
This topic is now archived and is closed to further replies.