PDA

View Full Version : FedEx UK / ANC UK & EU shipping



michael_s
12-27-2009, 08:50 AM
Remember to backup before installing these Mods!!

================================================== =====================

FedEx UK & EU Shipping modules

Version 1.0 - 27 Dec 2009

work based on UK Royal Mail & Overseas Shipping Methods 21st Aug Prices
http://addons.oscommerce.com/info/4473/v,22

Created by Chris Lander from an original contribution
by Stuart Newton (http://addons.oscommerce.com/info/4473).



This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA


================================================== =====================

INFORMATION:

This contribution is for UK Stores ONLY that use FedEx UK / ANC to ship with in the UK &/or EU.
What it will do is add several shipping zones to your osCommerce store. If your customer is
UK based, it will not show any of the International Shipping Options, and vice versa, if your
customer is International it will not show any UK based shipping methods.

Shipping Methods Added:

(1) FedEx UK
(2) Zone1: Belgium, France,Germany, Luxembourg,Netherlands
(3) Zone2:Denmark,Finland,Italy,Spain,Sweden
(4) Zone3:Austria,Portugal
(5) Zone4:Czech Republic,Hungry,Poland
(6) Zone5:Norway,Switzerland


All the methods allow you to:-
Set minimum and maximum delivery weights.
Set minimum and maximum delivery values.
Split shipments based on maximum delivery weight, maximum delivery value, or
both, in combination with the built in osCommerce shipment splitting.


================================================== =====================

NOTES:

The prices in these contribs are shown inc of VAT at 17.5%, each module has a
handling charge for example if you want to charge for jiffy bags, labels
invoice paper etc.


================================================== =====================

PRICES:

The scripts are automatically loaded with the prices located from FedEX UK
these prices will vary depending if you have SmartStamp or PPI accounts with Royal Mail etc.

================================================== =====================

INSTALLATION:

Only one file needs a change, for cosmetic reasons.


Step (1) Open catalog/checkout_shipping.php
-------------------------------------------
In checkout_confirmation, double brackets are shown and not required, so the
below edit removes this.

[Find around Line 121 in catalog/checkout_shipping.php]

'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'),

[CHANGE TO]

'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . $quote[0]['methods'][0]['title']),


Step (2) Upload Shipping Modules
--------------------------------
Each Shipping method has 3 files each:
1. Shipping file - catalog/includes/modules/shipping/MODULENAME.php
2. Language file - catalog/includes/languages/english/MODULENAME.php
3. Image Icon = catalog/images/icons/shipping_MODULENAME.gif/jpg

Decide which shipping methods you want to install and upload the appropriate
files from the locations listed.

Now goto your OSC admin panel modules-->shipping Install and adjust anything to suit
your needs.


================================================== =====================
IMPORTANT NOTES IMPORTANT NOTES IMPORTANT NOTES IMPORTANT NOTES
================================================== =====================

Using these modules on their own may result in situations where no shipping
option is available for a user, and in this case osCommerce will allow your
customer to check out without paying any shipping amount.


================================================== =====================

SUPPORT:

None:

Feel free to add any mods etc please keep it clean and easy to track changes.
Thank you.


More... (http://addons.oscommerce.com/info/7178)