[ic] CHANGE SHIPPING automatically

Ronald Weinrich interchange-users@icdevgroup.org
Sun Aug 4 09:22:02 2002


Hi All,

I try to change ship-mode if the user change payment_method to cod (or any).

Can anyone help me?

First I check the pay-mode and then I have to change the ship-mode.



Thank you in advance



Ron



Code of checkout.html where I guess I have to



 <!-- if payment_method is cod -->

 [elsif value payment_method eq cod]

      <input type=hidden name=mv_order_profile value=cod>



      <!-- IF NOT SHIP IS  shipWithCod -->

      [if !value mv_shipmode eq shipWithCod]

         <!-- how to change shipping_mod ??? -->



         <!-- CHANGE SHIPPING TO shipWithCod -->

         [mv_shipmode='shipWithCod']    ???



         <!-- how to restore ?? -->



      [/if]



 [/elsif]

 [elsif value payment_method eq check]