Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Expedite Fee in osCommerce


Recommended Posts

I found an interesting concept posted on another site for re-using the LOW ORDER FEE as an EXPEDITE ORDER





1. Add in a checkbox on checkout_shipping.php


<?php echo tep_draw_checkbox_field('expedite_fee'); ?> <?php echo sprintf(TEXT_EXPEDITE, $currencies->format(MODULE_ORDER_TOTAL_EXPEDITEFEE_FEE)); ?>


2. Add in processing on checkout_shipping.php

if(!empty($HTTP_POST_VARS['expedite_fee'])) tep_session_register('expedite_fee');


3. Destroy the session in checkout_process.php



6. Language addition in /includes/languages/english/checkout_shipping.php

define('TEXT_EXPEDITE', 'Tick this box to expedite your order, costs an extra %s');



Where would these inserts be placed?

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...