aigisthos Posted October 10, 2014 Share Posted October 10, 2014 Hi, I need advice from experienced users of prestashop. How can I change adding to the cart of one product, if I don't want to calculate the quantity in the cart page? When a customer inserts the same product to the basket twice, I need, that product been twice in the cart page, not as one product with laculating the quantity. Do you know anyone advise me how to do this? Thanks Link to comment Share on other sites More sharing options...
dhobo Posted October 10, 2014 Share Posted October 10, 2014 Hi, You could modify the cart templates, but it will be only visual. To change this in code would be a lot of work probably.Why would you want to do this, if I may ask? Link to comment Share on other sites More sharing options...
aigisthos Posted October 10, 2014 Author Share Posted October 10, 2014 dhobo, I changed quantity of product to decimal, because I am selling boards, where one size is fixed and customer can enter second size in quantity field (for example 1,25 m). But if customer want two pieces of one board with another sizes, I need to know sizes of both. But presta calculate it, and I see it only as one piece. Perhaps this could be resolve even with attribute, but I don't found a solution to add attribute, in which the customer entered value. Link to comment Share on other sites More sharing options...
musicmaster Posted October 10, 2014 Share Posted October 10, 2014 You could try to change the code where this is done. It is the function updateQty in the file Cart.php in the classes directory. 1 Link to comment Share on other sites More sharing options...
nunorosado Posted November 6, 2014 Share Posted November 6, 2014 Hello! Hi, I need advice from experienced users of prestashop. How can I change adding to the cart of one product, if I don't want to calculate the quantity in the cart page? When a customer inserts the same product to the basket twice, I need, that product been twice in the cart page, not as one product with laculating the quantity. Do you know anyone advise me how to do this? Thanks So we are looking for resolution about this problem! and we dont know hot to solve did you solve that? best regards Link to comment Share on other sites More sharing options...
Recommended Posts