Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

PHP : How to update the customer delivery address in PHP?


1 reply to this topic

#1 amd.miri

  • Community Member
  • 15 posts
  • Real Name:Miri
  • Gender:Female

Posted 02 December 2011, 11:10

Hello Guys,
I'm actually developing a new shipping module and I need to know how to update the delivery address of the customer in PHP when he choose an address on the map. (preferably only once, for a shopping cart)

I thought that probably it's an idea to get the "global order or cart" variable and change the value inside, but for the moment I can not make it work. :(
have somebody any idea?

thanks a lot in advance

#2 amd.miri

  • Community Member
  • 15 posts
  • Real Name:Miri
  • Gender:Female

Posted 05 December 2011, 15:13

for people searching for the answer, I found it :

you should change the "global $sendto" variable to change your address only once for the client shipping address.

regards,

Miri