abremen Posted December 8, 2008 Share Posted December 8, 2008 Hello All! When i make an order the product quantity is increased by 1 default, is there a way to change this value? If you know this I would be glad if You posted a reply to this :-) Link to comment Share on other sites More sharing options...
abremen Posted December 11, 2008 Author Share Posted December 11, 2008 Hello All! When i make an order the product quantity is increased by 1 default, is there a way to change this value? If you know this I would be glad if You posted a reply to this :-) Maybe I didnt make myself clear enough, what I mean is when You add a new product (buy now) the defalut quantity is 1 and I want to change this, have anyone got a clue? Link to comment Share on other sites More sharing options...
♥zelf Posted December 11, 2008 Share Posted December 11, 2008 Maybe I didnt make myself clear enough, what I mean is when You add a new product (buy now) the defalut quantity is 1 and I want to change this, have anyone got a clue? There is a contribution that will allow users to set the quantity they want to add and then click buy now. Maybe this will work for you. Virtual Merchant a.k.a. Elavon, ViaKlix, Nova Payment Module Contribution Link to comment Share on other sites More sharing options...
abremen Posted December 11, 2008 Author Share Posted December 11, 2008 There is a contribution that will allow users to set the quantity they want to add and then click buy now. Maybe this will work for you. Hi Zelf! Nope! Im a stubborn guy, it will not work for me. My client is working with very large qtys but they differ a lot and when the customer (there are only two at the moment) does the "shopping" (actually he confirms what has been delivered) he has a batch of products to "buy". But I found a a solution to this in catalog\includes\classes\shopping_cart.php I changed this line: function add_cart($products_id, $qty = '1', $attributes = '', $notify = true) to function add_cart($products_id, $qty = '0', $attributes = '', $notify = true) and it seems to work out fine. I'm not in to php programming yet but this looks logical enough for me, can someone more skilled person pls tell me if there's something wrong with this? Many thanks for your answer though Zelf, and in the true spirit of this community i post this and hope someone else could be helped by this (and I sure do hope that my solution is the right one :-)) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.