Jump to content

Update the current cart address error return to address step

Recommended Posts


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']);

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


Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More