Jump to content

Changing Order Address - on checkout


Recommended Posts

Hey again Prestashoppers

 

I have for some time been working on a module, and i got most of it down by now - but sadly i just found a bug/problem, i cant understand why occures or how i fix it.

 

Anyway I have a custom shipping module, where you can change you address.

The user can input some kind of Address, and then a AJAX call runs, and it will create a new Delivery Address, and then update the cart.

I can get it to Create the new Address, and it will update the cart just fine (i look at the updated cart object i send back), but when i confirm the order on the frontend - and i go to look at it on the backend. The delivery address is still set as the original address, and not as the "new address".

This works fine in the 5 step checkout, but does NOT work in the quick step checkout!

 

see my current AJAX call @ the image.

post-1296761-0-82497100-1473167703_thumb.jpg

Edited by ZaxxaDK (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...