add custom shipping type

Permalink Browser Info Environment
I currently have a flatrate shipping type enabled. Is it possible for me to install a second flat rate shipping type, which I apply different countries to?

ie shipping type 1 for UK customers = price A,

shipping type 2 for worldwide customers = price B

Type: Discussion
Status: New
florabinnie
View Replies:
BHWW replied on at Permalink Reply
BHWW
Hi Did you find a solution to this?

Thanks
BHWW replied on at Permalink Reply
BHWW
Hi Did you find a solution to this?

Thanks
florabinnie replied on at Permalink Reply
florabinnie
No, sorry. Nobody has replied and I've not managed to work it out myself!
andrew replied on at Permalink Reply
andrew
It isn't currently, although this add-on might get you closer to that goal (and it is free):

http://www.concrete5.org/marketplace/addons/ecommerce/additional-sh...
BHWW replied on at Permalink Reply
BHWW
HI I have managed to do this, basically i duplicated the directory at:

/packages/core_commerce/models/shipping/types/flat/

into:

/models/shipping/types/flat/

then renamed flat to, US and Europe

/models/shipping/types/us/
/models/shipping/types/europe/

then i went into the controller.php and type_form.php in each and did a find and replace on all instances of FLAT changed to US or EUROPE (note the capitalisation, and there are a few lower case ones that need to change from Flat to US or Europe too)

Then when I uploaded it, I went into C5 ecommerce, and installed as:

http://www.concrete5.org/marketplace/addons/ecommerce/documentation...

Voila! worked for me.

Regards

Ben
fivestones replied on at Permalink Reply
fivestones
I'm a total noob, but I think I found a solution! (no kidding!)

Concrete5 only allows Flat Rate or Table-Based Shipping.

If you enable them both, you can set a Flat Rate for UK only (from the little I've read on the forums, you cannot set a value that is £0 (free)). This means Flat Rate is only available for UK.

For the REST OF THE WORLD, simply set your Table-Based shipping to charge an amount based on weight/price of total purchase for SELECTED COUNTRIES ONLY (All countries minus UK)

That way, if you are from UK, price = flat rate. If you are outside UK, shipping price automatically goes to table-based.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.