osCommerce / oscommerce2

osCommerce Online Merchant v2.x
http://www.oscommerce.com
MIT License
281 stars 222 forks source link

When change address in checkout then changed fields will be lost #646

Open tgely opened 5 years ago

tgely commented 5 years ago

https://github.com/osCommerce/oscommerce2/blob/de0e97d15d43ac6a9a6cfb2847134a82a0148f2b/catalog/checkout_payment.php#L124

https://github.com/osCommerce/oscommerce2/blob/de0e97d15d43ac6a9a6cfb2847134a82a0148f2b/catalog/checkout_shipping.php#L203

when customer select or edit fields before to press countinue button and press address change then every new (changed) data will be lost. :boom:

HTML5 formaction and smart redirection to address change forms could keep the inputs in the session. :sunny: