Quote Originally Posted by enzo-ita View Post
When a customer change his choice of shipping, the frame "shipping cart content" is automatically updated, and this is correct.
Instead when a customer change his choice of payment method, the frame "shipping cart content" is NOT automatically updated and I think this si wrong because there may be a fedd ofr cod or other thing changing by the payment method and the customer should be aware of this by changing the "shopping cart content" frame.
Yes it would be nice and it's a simple change... in tpl_checkout_stacked.php

find this line around line 420:
PHP Code:
 <?php echo zen_draw_radio_field('payment'$selection[$i]['id'], ($selection[$i]['id'] == $_SESSION['payment'] ? true false), 'id="pmt-'.$selection[$i]['id'].'"'); ?>
Change it to this:
PHP Code:
<?php echo zen_draw_radio_field('payment'$selection[$i]['id'], ($selection[$i]['id'] == $_SESSION['payment'] ? true false), 'onclick="updateForm();" id="pmt-'.$selection[$i]['id'].'"'); ?>
Basiclly adding the same onclick event that the shipping uses. depending on what type of payment system you have set up, it will update when the page refreashes.