NILAGolf_ Posted May 28, 2014 Share Posted May 28, 2014 Hi, I am expecting some information pop-up or something in this situation: - I have set the item quantity at 30 - I try to put 31 items into my shopping cart Well, nothing happens when I press the add to cart button. It does not add it to the cart which is ok, but some warning message should pop-up to inform customers that you cannot order this much items. Am I doing something wrong or is this a missing feature? Cheers, NILAGolf_ Link to comment Share on other sites More sharing options...
NILAGolf_ Posted May 29, 2014 Author Share Posted May 29, 2014 Anybody? This really sucks. Link to comment Share on other sites More sharing options...
bricofera Posted June 19, 2014 Share Posted June 19, 2014 Same problem here! Seems to be a WRONG missing feature.... I tried to explore the code but didn't find a way to display an error message Please HELP! PS 1.6.0.6 Link to comment Share on other sites More sharing options...
bricofera Posted June 20, 2014 Share Posted June 20, 2014 Finally found the solution! In ajax-cart.js (under /themes/default-bootstrap/js/modules/blockcart/) you have to add the alert() function in case of errors! At about line 343-344 (inside add() function, case success but there are errors) I've added: alert(jsonData.errors); and now works perfectly. I don't know if this lack is a bug or is a new feature....! You can mark as solved Link to comment Share on other sites More sharing options...
Alejandrosi Posted August 18, 2014 Share Posted August 18, 2014 (edited) Hey! this is usefull. I made it work. Now...how can I change the message that pop ups? Can I add the quantities left in that message? Edited August 18, 2014 by Alejandrosi (see edit history) Link to comment Share on other sites More sharing options...
afshop Posted November 8, 2014 Share Posted November 8, 2014 Hey! this is usefull. I made it work. Now...how can I change the message that pop ups? Can I add the quantities left in that message? Hi!! I need also me the same fix, but I don't know where I have to change the file ajax-cart.js. Can you help me to fix it? Thanks Angela Link to comment Share on other sites More sharing options...
Recommended Posts