Shipping Method Selected in Cart not Applied in Checkout
Posted: Sun Sep 22, 2013 11:37 am
Something that has bothered me for a while (since v1.5.1.3, now on v1.5.5.1) is when a shipping method is applied at the Cart stage of the Checkout, but is not pre-selected during Checkout (only applicable if multiple shipping options are available).
To clarify:
1) Customer adds an item to their cart.
2) They visit the Cart page and select "Estimate Shipping".
3) They then apply their preferred shipping method (other than the first option).
4) When proceeding through to the Checkout, on Step 4 (Delivery Method) the shipping method reverts back to the default (first) option.
Looking over the shipping_method.tpl and controller file, it does appear that there is a provision for this to work, but unfortunately it does not.
Would there be any way to correct this behaviour so it works as it should?
To clarify:
1) Customer adds an item to their cart.
2) They visit the Cart page and select "Estimate Shipping".
3) They then apply their preferred shipping method (other than the first option).
4) When proceeding through to the Checkout, on Step 4 (Delivery Method) the shipping method reverts back to the default (first) option.
Looking over the shipping_method.tpl and controller file, it does appear that there is a provision for this to work, but unfortunately it does not.
Code: Select all
<td><?php if ($quote['code'] == $code || !$code) { ?>
<?php $code = $quote['code']; ?>
<input type="radio" name="shipping_method" value="<?php echo $quote['code']; ?>" id="<?php echo $quote['code']; ?>" checked="checked" />
<?php } else { ?>
<input type="radio" name="shipping_method" value="<?php echo $quote['code']; ?>" id="<?php echo $quote['code']; ?>" />
<?php } ?></td>