Chrik Posted August 14, 2013 Share Posted August 14, 2013 Hello everyone. I am trying to figure out how i can change the delivery address programmatically, depending on what address the customer has entered. (The customer enters an address, it goes through a php script that changes the address to something else and returns it) I have absolutely no idea where to change the address variables. Could you give me a clue? Thanks Best regards, Christopher Link to comment Share on other sites More sharing options...
bellini13 Posted August 14, 2013 Share Posted August 14, 2013 assuming you are using PS v1.5, and one page checkout, you should start with the OrderOpcController.php file. Search for updateAddressesSelected and read through the code If you are using 5 page checkout, you want to review processAddress function in OrderController.php. 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