Agikyw Posted April 9, 2013 Share Posted April 9, 2013 Hello guys, I am developping a website on Prestashop, everything was going fine up to now. In this website the customer can modify the product on the product page without having to reload it. He can also save a few products with different elements. What I am trying to do is that on the shopping cart instead of having a line with id_product = 3 for instance and quantity = 3 Have three lines with id_product = 3 and quantity = 1 Of course I have added some fields in this table to differentiate these lines. Anyways I have managed to do this, it works also in the shopping cart BUT when I go through the steps of the shopping cart (and especially on the shipping page) the number of products raises by 4 on its own - and it does so everytime I reload this page. For instance on the shopping details I have 4 products, I click on Next once - it works, I click on Next another time and then I now have 16 products. Do you know what could be the cause of this? And if yes how to sort it? Please let me know if you need more information. Thank you very much for your help! Link to comment Share on other sites More sharing options...
Agikyw Posted April 9, 2013 Author Share Posted April 9, 2013 Ok I fixed this. It was linked to processAddress() which is called in the order controller at start of step 2. This function calls cart::setNoMultishipping() if multishipping is off. After adding the settings in the query of this function it solved naturally the problem. Thank you for your time! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now