Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

specific area inside a country (shipping & order total)


kaspalabarak

Recommended Posts

Posted

Dear community,

 

I am using oscommerce for 6 months and what I have to say, it is powerfull!

 

However in France, we have an island 300 kms fara way from the continent, then our transporter charge extra fees we have to shift to the customers (unfortunatly).

 

I couldn't see how to parameter a specific zone, the only thing I found is the check the post code of the delivery address, then, add the extra fee. (each product is charged ie: 4 products --> 4 adding shipping fees)

 

Where can I code that?

Shall I install a contribution ?

I would like to direct add the line to the order total.

 

I have a contribution installer to add a fee if the customer buy just one product (free shipping since 2 products)

 

thanks to help me!

 

example of code source I have to inser:

 

$temp=substr($order->customer['postcode'], 0, 2);

if($temp==20){

$shipping+=15;

}

 

my question is where (which file and where/how) I have to put that code??

 

thanks in advance

Posted

Have a look at http://addons.oscommerce.com/info/5965

 

Which is doing somehting similar. It adds a handling charge for Hawaii and Alaska. What you need to do is set up your departments so that when a customer shooses France, they then have to select the department to ship to. Make sure that the island is a department - is it? This should give you an idea of how to do this.

Posted

Thanks!

 

yes true and good idea, I will check the addon.

 

Indeed, Corsica is a french departement (postcode 20xxx).

 

 

Have a look at http://addons.oscommerce.com/info/5965

 

Which is doing somehting similar. It adds a handling charge for Hawaii and Alaska. What you need to do is set up your departments so that when a customer shooses France, they then have to select the department to ship to. Make sure that the island is a department - is it? This should give you an idea of how to do this.

Posted

last question: how and where to set up departements?

 

 

Thanks!

 

yes true and good idea, I will check the addon.

 

Indeed, Corsica is a french departement (postcode 20xxx).

Archived

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

×
×
  • Create New...