Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

default shipping selection


e69acf

Recommended Posts

I've setup my cart to atomaticly go to checkout_confirmation and pick a default shipping and payment. The problem is that my default shipping code works but when the total is printed it out it doesn't show the tax.

 

code:

// if no shipping method has been selected, redirect the customer to the shipping method selection page

if (!tep_session_is_registered('shipping')) {

//tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));

 

/* pre set shipping */

tep_session_register('shipping');

$shipping = array('id' => 'discount0_discount0',

'title' => 'No Discount',

'cost' => '0');

}

 

Also, is there a way for to make the shipping amount a percentage of the order instead of a flat rate?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...