Updating order based on shipping method
Posted: Mon Oct 08, 2012 6:11 am
Hi,
We need to make some changes to information displayed on the OPC checkout page (and to the order itself) based on the shipping method that the user selects. Specifically, we will calculate the expected delivery date base don the shipping method they select.
I'd be grateful if you could advise the best place to insert our code to do this? I see that changeTextOnePage() in onepage.js checks the shipping method when it is changed (although it returns a hash, rather than a readable shipping method). Would we be best updating this?
Thanks!
Mike
We need to make some changes to information displayed on the OPC checkout page (and to the order itself) based on the shipping method that the user selects. Specifically, we will calculate the expected delivery date base don the shipping method they select.
I'd be grateful if you could advise the best place to insert our code to do this? I see that changeTextOnePage() in onepage.js checks the shipping method when it is changed (although it returns a hash, rather than a readable shipping method). Would we be best updating this?
Thanks!
Mike