Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with shipping PLEASE


icx

Recommended Posts

I am using table-based shipping (price), and want the shipping quote to change to the order total * .07 if the order total is over a certain dollar amount (300.00). I think that the best place to do this would be in checkout_shipping.php; displaying (and setting the shipping cost equal to) the normal price/table-based quote if order total <= 300 and displaying (and setting shipping equal to) .07 * order total if the order total is >300...here is the code that I think should be edited. Anyone out there who can help? -- PLEASE

 

<td class="main" align="right" colspan="2"><?php echo

$currencies->format(tep_add_tax($quotes[$i]['methods'][$j]['cost'], $quotes[$i]['tax'])) . tep_draw_hidden_field('shipping', $quotes[$i]['id'] . '_' .

$quotes[$i]['methods'][$j]['id']); ?></td>

Link to comment
Share on other sites

There is a new contributions for MS1 and newer snapshots for Percentage based shipping charges. Might take a peek in the contributions.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...