Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Shipping insurance


Recommended Posts

Need to update order totals once the insurance option check box is selected or deselected

In checkout.php I have the code:



// BEGIN Shipping Insurance 2.0 with customer choice



</tr ><tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>



<td class="main"><b><?php echo TEXT_SHIPPING_INSURANCE_TITLE; ?></b></td>



<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td class="main" width="100%" align="left"><?php echo TEXT_SHIPPING_INSURANCE_CHOICE; ?><input type="checkbox" name="choose_insurance" value="1" checked>   <span class="smallText"><?php echo TEXT_SHIPPING_INSURANCE_DISCLAIMER; ?></span></td>



</tr ><tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>




// END Shipping Insurance 2.0 with customer choice



It seems confusing with customers as there is no update to the totals before confirming order.

Please help with code

Getting the Phoenix off the ground

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...