osCommerce/oscommerce2 — pull request #17 by wrwrwr (2012-04-25 10:40:07+00:00)
Title: Address override during checkout

Some shipping modules rely on fixing a shipping address (e.g. self-collection, delivery to an automaton) or calculate a fee based on the address. Using two browser tabs a user can however change the address (to her default address) past selecting a shipping method.

This can be done by selecting a shipping method in one tab, opening address change page in a second tab, continuing in the first tab, and submitting the address change form (second tab) without selecting anything. Shipping is neither reset nor updated.

The proposed fix resets shipping / payment after submitting the address change form without any selection (other cases are already handled properly).