Herland Posted April 9, 2013 Share Posted April 9, 2013 (edited) 'Quantity' not working, can't add more than 1 product when pressing 'Add to Cart'. So if I enter 2 or 3 in Quantity, and I press Add to Cart, it just doesn't add them, it just adds one. Sample product of my webpage: http://buntprelimina...?id_product=311 I am working under Prestashop 1.4.7 Edited April 9, 2013 by Herland (see edit history) Link to comment Share on other sites More sharing options...
ESC Posted August 11, 2013 Share Posted August 11, 2013 Herland, Did you manage to find a solution for your problem? I am having the same on with Prestashop 1.5.4.1 Thanks Link to comment Share on other sites More sharing options...
vekia Posted August 11, 2013 Share Posted August 11, 2013 Herland, Did you manage to find a solution for your problem? I am having the same on with Prestashop 1.5.4.1 Thanks i added without any problem 9 products: Herland, Did you manage to find a solution for your problem? I am having the same on with Prestashop 1.5.4.1 Thanks can you share the url for test purposes? 1 Link to comment Share on other sites More sharing options...
ESC Posted August 11, 2013 Share Posted August 11, 2013 Hi Vekia, thanks for replying. Here is the url: http://www.generalfit.com.br/index.php?id_product=1&controller=product Link to comment Share on other sites More sharing options...
yankeerudy Posted September 5, 2013 Share Posted September 5, 2013 Was this ever resolved? I'm having the same problem with 1.5.5.0 http://www.prestashop.com/forums/topic/272528-add-to-cart-ignoring-quantity/ Link to comment Share on other sites More sharing options...
ESC Posted September 5, 2013 Share Posted September 5, 2013 No... I was hoping that upgrading to v1.5.5 would fix it but it is still an issue on my store http://www.generalfit.com.br/index.php?id_product=2&controller=product Link to comment Share on other sites More sharing options...
yankeerudy Posted September 9, 2013 Share Posted September 9, 2013 Interesting discovery... the default theme does not exhibit this problem, but the theme I installed/selected does. I'll bet if you flip over to the default theme you'll find the same. Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 9, 2013 Share Posted September 9, 2013 Interesting discovery... the default theme does not exhibit this problem, but the theme I installed/selected does. I'll bet if you flip over to the default theme you'll find the same. Hello, what theme were you using? Usually, these issues can be sorted out with the theme developer directly. This shouldn't happen by default on most themes because it makes the customer have to click multiple times. Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted September 9, 2013 Share Posted September 9, 2013 (edited) yeah there is a problem only one products get added even how much u add can u show screenshot of backoffice>product>edit>quanties Edited September 9, 2013 by Jiten rash (see edit history) Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted September 9, 2013 Share Posted September 9, 2013 at themes/urcurrent theme/product.tpl line 335 to 338 replace with this lets see<div id="quantity_wanted_p" class="product-qty"><input id="quantity_wanted" class="input-text qty" type="text" maxlength="12" size="2" value="1" name="qty"></input><input class="qty-increase" type="button" onclick="var qty_el = document.getElementById('quantity_wanted'); var qty = qty_el.value; if( !isNaN( qty )) qty_el.value++;return false;"></input><input class="qty-decrease" type="button" onclick="var qty_el = document.getElementById('quantity_wanted'); var qty = qty_el.value; if( !isNaN( qty ) && qty > 0 ) qty_el.value--;return false;"></input></div> Link to comment Share on other sites More sharing options...
ESC Posted September 10, 2013 Share Posted September 10, 2013 yeah there is a problem only one products get added even how much u add can u show screenshot of backoffice>product>edit>quanties Hi, Here is the screenshot that you requested. Thanks Link to comment Share on other sites More sharing options...
ESC Posted September 10, 2013 Share Posted September 10, 2013 at themes/urcurrent theme/product.tpl line 335 to 338 replace with this lets see <div id="quantity_wanted_p" class="product-qty"><input id="quantity_wanted" class="input-text qty" type="text" maxlength="12" size="2" value="1" name="qty"></input><input class="qty-increase" type="button" onclick="var qty_el = document.getElementById('quantity_wanted'); var qty = qty_el.value; if( !isNaN( qty )) qty_el.value++;return false;"></input><input class="qty-decrease" type="button" onclick="var qty_el = document.getElementById('quantity_wanted'); var qty = qty_el.value; if( !isNaN( qty ) && qty > 0 ) qty_el.value--;return false;"></input></div> I checked lines 335 to 338 and it doesn´t seem to contain any quantity related code. Are you sure these are the correct lines? Here is the full product.tpl file for your convenience. productTPL.txt Thanks! Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 11, 2013 Share Posted September 11, 2013 Hi, Here is the screenshot that you requested. Thanks Capture.JPG What happens if you put the minimum quantity to "2" does it still allow you to add to cart? This is a theme related issue, it seems that with this theme adding multiple quantities never worked right? Link to comment Share on other sites More sharing options...
ESC Posted September 11, 2013 Share Posted September 11, 2013 What happens if you put the minimum quantity to "2" does it still allow you to add to cart? This is a theme related issue, it seems that with this theme adding multiple quantities never worked right? Hi Benjamin, I changed the Min Qty to 2: http://www.generalfit.com.br/index.php?id_product=2&controller=product The default quantity is now 2 and it accepts orders for only 2 pieces. I tried to order 3 and it only added 2 to the cart. That's right - this has never worked with this theme. I tried contacting the developer (template-help.com) but they are not responding to my requests Thanks Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 11, 2013 Share Posted September 11, 2013 So when you changed it to "2" it wouldn't accept any Add to Cart unless the Field in Quantity was set to 2 and only 2. I assume it's the same with any default quantity. Let us know if you have any more developments with the theme developer. By the way, which theme is it? Link to comment Share on other sites More sharing options...
ESC Posted September 11, 2013 Share Posted September 11, 2013 So when you changed it to "2" it wouldn't accept any Add to Cart unless the Field in Quantity was set to 2 and only 2. I assume it's the same with any default quantity. Let us know if you have any more developments with the theme developer. By the way, which theme is it? It is Theme 44654 From this site: http://info.template-help.com/help/prestashop-template.html Thanks Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 12, 2013 Share Posted September 12, 2013 Hi ESC, I'm not sure you will be able to find the adequate support you need because the theme was free. You may want to look into posting to the [JOB OFFER] Forum to see if a Community member can take a look and fix it. 1 Link to comment Share on other sites More sharing options...
ganesh suthar Posted July 13, 2016 Share Posted July 13, 2016 Hii, I want to add only 1 quantity each time when use add to card. There is any idea how to do this? Link to comment Share on other sites More sharing options...
vekia Posted July 13, 2016 Share Posted July 13, 2016 Hii, I want to add only 1 quantity each time when use add to card. There is any idea how to do this? this is the way of how prestashop adds products to cart by default how it works for you? Link to comment Share on other sites More sharing options...
Recommended Posts