Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Custom shipping costs


tonyohara

Recommended Posts

Hi guys,

I am new to osCommerce and am looking for help setting up my shipping methods.

What I want is to have 3 different shipping costs for 3 destinations, i.e. UK = ?4, Republic of Ireland = ?6 & Europe = ?10. Is this possible to do ?

 

Another thing that occurs to me is the possibility, for example, that someone from Europe chooses the UK shipping method. Does osCommerce cater for this ? Is the user flagged an error message and prompted to choose again ?, OR would the user not be given the chance to choose anything but just charged for postage according to where they want the goods delivered ?

In the latter case would I remove the shipping option and if so how ?

 

thanks in advance !

 

Tony

Link to comment
Share on other sites

There are a couple of modules in the contribution section providing different tax and shipping rates. The one I use is called "Regions Based Rates Shipping Module" where you can specify different tax rates and shipping values. It is incorporated in the admin. You should be able to use it with minimum customization.

Link to comment
Share on other sites

Hi guys,

    I am new to osCommerce and am looking for help setting up my shipping methods.

  What I want is to have 3 different shipping costs for 3 destinations, i.e. UK = ?4, Republic of Ireland = ?6 & Europe = ?10. Is this possible to do ?

 

Another thing that occurs to me is the possibility, for example, that someone from Europe chooses the UK shipping method. Does osCommerce cater for this ? Is the user flagged an error message and prompted to choose again ?, OR would the user not be given the chance to choose anything but just charged for postage according to where they want the goods delivered ?

In the latter case would I remove the shipping option and if so how ?

 

thanks in advance !

 

Tony

 

 

if you are sure you will be offering flat fees and not table rates depending on weight or price, I suggest you use the flat fee module that already exists and recreate it with changed variables (file name and variables in modules/shipping/file and languages/modules/shipping/file). I use flat1, flat2, flat3 ... actually I have 5 flat fee files! For each of those files you will be able to define a zone and tax, and it will only show for that zone addresses. My USA customers only see the (horrendously high lol) USA flat fee for shipping. Of course, you have to define zones (do not forget to click on details and fill in the actual countries, not too intuitive) in the admin zone section. Have fun!

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

if you are sure you will be offering flat fees and not table rates depending on weight or price, I suggest you use the flat fee module that already exists and recreate it with changed variables (file name and variables in modules/shipping/file and languages/modules/shipping/file). I use flat1, flat2, flat3 ... actually I have 5 flat fee files! For each of those files you will be able to define a zone and tax, and it will only show for that zone addresses. My USA customers only see the (horrendously high lol) USA flat fee for shipping. Of course, you have to define zones (do not forget to click on details and fill in the actual countries, not too intuitive) in the admin zone section. Have fun!

 

 

i made it, but don't work! :'( i created other file, "flat" and "flat1" because i want one price to Brazil and other to the rest of the world. But in admin panel "shipping", have not my new option.

 

What can i do?

 

thanks for any help

Link to comment
Share on other sites

i made it, but don't work! :'(  i created other file, "flat" and "flat1" because i want one price to Brazil and other to the rest of the world. But in admin panel "shipping", have not my new option.

 

What can i do?

 

thanks for any help

 

 

did you make the language file too, changing the text to reflect what the new file should do? did you copy the new module file in the modules/shipping folder, and did you upload it? All fils from the modules/shipping folder will automatically show in the admin.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Another option which I use is the multi individual shipping module, it allows you to define upto 4 different shipping rates per item, and you can also add a brief description to each so a customer knows exactly which 1 to choose. The only problem with this contrib is that you have to define the shipping cost for every item, although this isn't an issue if you use easypopulate or something similar.

Link to comment
Share on other sites

did you make the language file too, changing the text to reflect what the new file should do? did you copy the new module file in the modules/shipping folder, and did you upload it? All fils from the modules/shipping folder will automatically show in the admin.

 

 

Yes i created it. I have the file "flat" and "flat_one" in the folder catalog/includes/modules/shipping and in the catalog/ingludes/languages/english/modules/shipping , and now it is in my panel :thumbsup: , i configurated different it. But i still have a problem. :( , when i install my new "flat rate", and change it, when i do some order, i have that choose one (but it isn't a problem, because i put different names in each, then the customer can choose the correct shipping mode) My problem is that when i choose some shipping mode ("flat rate" or "new flat rate") appear this error message:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/faww/public_html/catalog/includes/modules/shipping/flat_one.php:93) in /home/faww/public_html/catalog/includes/functions/general.php on line 29

 

thanks

Link to comment
Share on other sites

Yes i created it. I have the file "flat" and "flat_one" in the folder catalog/includes/modules/shipping and in the catalog/ingludes/languages/english/modules/shipping , and now it is in my panel  :thumbsup: , i configurated different it. But i still have a problem.  :(  , when i install my new "flat rate", and change it, when i do some order, i have that choose one (but it isn't a problem, because i put different names in each, then the customer can choose the correct shipping mode) My problem is that when i choose some shipping mode ("flat rate" or "new flat rate") appear this error message:

thanks

 

 

you can check the knowledgebase for this error ... probably a space before or after the php tags in your new file ...

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

  • 3 weeks later...
..... I suggest you use the flat fee module that already exists and recreate it with changed variables (file name and variables in modules/shipping/file and languages/modules/shipping/file). I use flat1, flat2, flat3 ...

 

Monika

 

The solution you've suggested is just what I've been looking for. I've tried using the Zone rate module but get unhelpful customer messages on checkout.

 

I've tried to implement your solution using the flat1, etc. files but being new to PHP I'm not sure that I'm changing the right variables. I did try but only seemed to duplicate the original Flat rate module.

 

Would it be possible to post a copy of the code you changed?

 

Many thanks.

 

Ivor

Link to comment
Share on other sites

Monika

 

The solution you've suggested is just what I've been looking for. I've tried using the Zone rate module but get unhelpful customer messages on checkout.

 

I've tried to implement your solution using the flat1, etc. files but being new to PHP I'm not sure that I'm changing the right variables. I did try but only seemed to duplicate the original  Flat rate module.

 

Would it be possible to post a copy of the code you changed?

 

Many thanks.

 

Ivor

 

 

Hi Ivor,

 

I could post my file but I changed the code code in the class so no use for you.

 

Basically, I just used the search and replace feature of my editor Textpad! As I'm anal, I did 3 searches to replace:

 

flat -> flat1

Flat -> Flat1

FLAT -> FLAT1

 

in both files, modules and language. It would be better to post your changed file for me.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Hi Ivor,

 

I could post my file but I changed the code code in the class so no use for you.

 

Basically, I just used the search and replace feature of my editor Textpad! As I'm anal, I did 3 searches to replace:

 

flat -> flat1

Flat -> Flat1

FLAT -> FLAT1

 

in both files, modules and language. It would be better to post your changed file for me.

 

Monika

 

Thanks for that, did get it working but ended up going back to Zone rates as it was easier to specify the various countries.

Link to comment
Share on other sites

Monika

 

Thanks for that, did get it working but ended up going back to Zone rates as it was easier to specify the various countries.

 

goodie! glad to see you have a version up and running!

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...