Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Flat rate shipping for different zones


Jason

Recommended Posts

Posted

Hi,

 

Can anyone tell me the easiest way to set this up?

 

I want to apply a different flat rate to each continent (ie US, Europe, Africa, Oceania, Asia).

 

Thanks

Posted

Add a field to the countries and base the flat rate against that field is one way to do it. You can either put the flat rate directly in that field or put the continent and use a switch statement for the actual calculation.

Posted

OK. I will have to change the code in the checkout pages, right? No way to do it easily from admin?

Posted

I cannot think of an easy way unless someone has a trick with zones.

 

You can controll the shipping through the checkout_process.php to test where the person is shipping to when on checkout_payment.php and then reset your shipping based on a changed address, etc.

Archived

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

×
×
  • Create New...