Peper Posted April 30, 2013 Posted April 30, 2013 Taken from http://addons.oscommerce.com/info/1069/ Problem exist when checking out and using a 3rd party payment gateway and it is seen as a second shipping charge - only one allowed. We use 4 payment options. Is it possible to change the variables so that this does not happen - e.g. include it into subtotal or add this as a product upon checkout. I see many store owners got same problem as above but no solution. Possibly if anyone wants to rewrite this contribution, you will be +1 every day Please help Quote Getting the Phoenix off the ground
Peper Posted May 6, 2013 Author Posted May 6, 2013 Ok, lets start somewhere. Will need some help on this, I tried a few ways but don't see the correct outcome. With the first piece of code I want to disable the option to check the box in the first place. spu = store pickup and flat = use own couriers so: if ($_SESSION['shipping']['id'] == 'spu' . 'flat' ) { }else{ <?php if ($_SESSION['shipping']['id'] == 'spu' . 'flat' ) { }else{ // BEGIN Shipping Insurance 2.0 with customer choice if (($order->info['total'] >= MODULE_ORDER_TOTAL_INSURANCE_OVER) && (MODULE_ORDER_TOTAL_INSURANCE_STATUS == 'true') && (MODULE_ORDER_TOTAL_INSURANCE_USE == 'true')) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><b><?php echo TEXT_SHIPPING_INSURANCE_TITLE; ?></b></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td class="main" width="100%" align="left"><input type="checkbox" name="choose_insurance" value="1" checked> <?php echo TEXT_SHIPPING_INSURANCE_CHOICE; ?> <span class="smallText"><?php echo TEXT_SHIPPING_INSURANCE_DISCLAIMER; ?></span></td> </tr> </table></td> </tr><tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } } // END Shipping Insurance 2.0 with customer choice ?> Somewhere I'm missing a part for the if this is true then disable the next part. Please help Quote Getting the Phoenix off the ground
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.