Giga_Boss Posted May 1, 2020 Share Posted May 1, 2020 Hello, Currently in development of a module, I encounter a problem on version 1.7. I wish to add a detail (according to certain criteria and actions of the user) in his address and only in the information of the current basket. I therefore proceed as follows when choosing the carrier : $address = new Address($params['cart']->id_address_delivery); if( !empty($_POST['acr-choix']) ) { $address->other = htmlspecialchars($_POST['acr-choix']); $address->update(); } The update works perfectly but on the other hand the function update() makes me immediately return to the stage of the choice of the address instead of continuing on the stage of payment. Can you help me solve this problem ? Thank you 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