Hi,

if you use the Shipping Estimator, and you use it inline (directly on the Shopping Cart page and not as a popup) - you'll find the following little bug:

1. Open a Zen-Cart store and create an account.

2. Once done, go to My Account, then Address Book, and create a New Address (DO NOT SET THIS NEW ADDRESS AS A PRIMARY ADDRESS).

3. Now add a product to your cart, and then proceed to the Checkout Shipping step.

4. Click "Change Address" in Checkout Shipping.

5. Select the newly added address using the Radio field, then click Continue.

6. Back in Checkout Shipping, click Continue, then Continue in Checkout Payment.

7. On Checkout Confirmation page, in the Cart Contents section, click Edit.

You'll be taken to the Shopping Cart page, and you'll notice that the Shipping Estimator has reset your newly selected address to your default address.

8. While you're on the Shopping Cart page, click Checkout, and take a look at your Shipping Address. It's the default, and not the newly selected one.

This bug can be fixed by doing the following...

In includes/modules/shipping_estimator, change the following:

PHP Code:
    }elseif ($_SESSION['cart_address_id']){
      
// user once changed address
      
$sendto $_SESSION['cart_address_id']; 

to the following:

PHP Code:
    }elseif ($_SESSION['sendto']){
      
// user once changed address
      
$sendto $_SESSION['sendto']; 
This bug affects the latest 1.5.5d as well.

Check my upcoming bug report for usability issues regarding shipping/payment address.