UK Royal Mail & Overseas Shipping Method

for osCommerce Online Merchant v2.2

This contribution is for UK Stores ONLY. 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) Royal Mail First Class Standard Post (upto 3.0Kg Limit) (2) Royal Mail Second Class Standard Post (upto 1.0Kg Limit) (3) Royal Mail First Class Recorded Post (upto 3.0Kg and £32.00 Limit) (4) Royal Mail Second Class Recorded Post (upto 1.0Kg and £32.00 Limit) (5) Royal Mail Standard Parcels (upto 20.0Kg and £500) with additional insurance (6) Parcel Force 48 (7) Citylink Next Day (8) Royal Mail International Signed for (European Prices) (9) Royal Mail International Signed for (Zone 1) (10) Royal Mail International Signed for (Zone 2) INFORMATION =========== All Royal Mails prices are for the new style (packets) pricing, however common sense is needed, a 3.0Kg parcel sent by Royal Mail First class standard delivery would cost £10.69 using the new shipping prices, therefore it would make sense to post it by Royal Mail Standard Parcels, therefore we have placed limits on the lower end shipping methods. If a product goes over this limit, the shipping option will not be displayed. =================================================================================== IMPORTANT NOTES IMPORTANT NOTES IMPORTANT NOTES IMPORTANT NOTES IMPORTANT NOTES =================================================================================== IF YOU DECIDE TO INSTALL ONLY THE ROYAL MAIL MODULES AND NOT ANY OF THE COURIERS OR PARCEL FORCE MODULES, PLEASE OPEN THE ROYAL MAIL MODULES AND REMOVE THE LIMITS. If you do not remove the limits and you have no other shipping modules installed, if someone buys something from you over £32.00, there will be no shipping option shown, hence your customer can checkout and pay £0.00 shipping. To summarise, either install Royal Mail modules with a courier (Standard Parcels, Citylink or Parcelforce) or if you install the Royal Mail modules on their own, (RM 1st, RM 2nd, RM 1st REC or RM 2nd REC) edit the files to remove the limits. 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, decide which shipping methods you want to install and upload the shipping file located in catalog/includes/modules/shipping/ and also its corresponding langauage file located in catalog/includes/languages/english/modules/shipping/ also included is an image icon, upload this into your images directory. Now goto your OSC admin panel modules-->shipping and adjust anything to suit your needs. 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 Royal Mails and Parcel Forces website, these values can be seen below. I am fully aware, that these prices will vary depending if you have SmartStamp or PPI accounts with Royal Mail etc. If your prices are different just update whichever string below, and copy it into the contribution via yourOSC admin panel/modules/shipping. The strings shown below are defined as follows for weights in KG's (If you require grammes adjust accrodingly, 0.1Kg = 100g etc) .1:1,.25:1.27,.5:1.7 What this means, is that for all items under 0.1Kg (100g) the cost of delivery is £1.00, then for all items more than 0.1Kg but less than 0.25Kg the price of shipping is £1.27. Notice there are no spaces and each price division is separated by a comma. Royal Mail First Class Standard (Packet Prices): ------------------------------------------------ .1:1,.25:1.27,.5:1.7,.75:2.2,1:2.7,1.25:4.74,1.5:5.59,1.75:6.44,2:7.29,2.25:8.14,2.5:8.99,2.75:9.84,3:10.69 Royal Mail Second Class Standard (Packet Prices): ------------------------------------------------- .1:.84,.25:1.09,.5:1.39,.75:1.77,1:2.12 Royal Mail First Class Recorded (Packet Prices): ------------------------------------------------ .1:1.68,.25:1.95,.5:2.38,.75:2.88,1:3.38,1.25:5.42,1.5:6.27,1.75:7.12,2:7.97,2.25:8.82,2.5:9.67,2.75:10.52,3:11.37 Royal Mail Second Class Recorded (Packet Prices): ------------------------------------------------ .1:1.52,.25:1.77,.5:2.07,.75:2.45,1:2.8 Royal Mail Standard Parcels: ---------------------------- 1:3.85,1.5:4.95,2:5.31,4:7.7,6:8.74,8:9.97,10:10.7,20:12.46 Royal Mail Special Delivery: ---------------------------- Royal Mail has 3 levels of special delivery depending on cost of items, these being upto £500, £1000 or £2500. The three lists can be seen below, the module uses the last one of £2500, change as neccessary via your admin panel, just copy and paste. .1:4.1,.5:4.5,1:5.7,2:7.4,10:18.5 .1:4.6,.5:5,1:6.2,2:7.9,10:19 .1:5.6,.5:6,1:7.2,2:8.9,10:20 Initial CityLink Nextday: ------------------------- (Amend prices to suit your account if applicable) Taken from http://www.initialcitylink.co.uk/services/ukservices_pricing.php where 10Kg is £11.60 then £0.50 per Kg afterwards 10:11.6,15:14.1,20:16.60,25:19.1,30:21.6,35:24.1,40:26.6,45:29.1,50:31.6,55:34.1,60:36.6,65:39.1,70:41.6,75:44.1,80:46.6, 100:56.6,125:69.1,150:81.6,200:106.6 Parcel Force 48: ---------------- 10:14.25,15:18.25,20:22.25,25:26.25,30:30.25,40:38.25,50:46.25,100:86.50 Royal Airmail Internation Signed For (Small Packets): ----------------------------------------------------- Zone (1) European Countries AL,AD,AM,AT,AZ,BY,BE,BA,BG,HR,CY,CZ,DK,EE,FO,FI,FR,GE,DE,GI,GR,GL,HU,IS,IE,IT,KZ,KG,LV,LI,LT, LU,MK,MT,MD,MC,NL,NO,PL,PT,RO,RU,SM,SK,SI,ES,SE,CH,TJ,TR,TM,UA,UZ,VA .1:1.1,.2:1.69,.3:2.23,.4:2.69,.5:3.19,.6:3.69,.7:4.19,.8:4.69,.9:5.19,1:5.69,1.1:6.19,1.2:6.69, 1.3:7.19,1.4:7.69,1.5:8.19,1.6:8.69,1.7:9.19,1.8:9.69,1.9:10.19, 2:10.69,99:999 Zone (2) Wordlwide RM Zones 1 & 2 (Everything else) .1:1.46,.2:2.48,.3:3.43,.4:4.38,.5:5.33,.6:6.28,.7:7.23,.8:8.18,.9:9.13,1:10.08,1.1:11.03,1.2:11.98, 1.3:12.93,1.4:13.88,1.5:14.83,1.6:15.78,1.7:16.73,1.8:17.68,1.9:18.63,2:19.58,99:999 SUPPORT ======= For support on installtion problems, price changes or configuration, please goto the OSC Forums: http://forums.oscommerce.com/index.php?showtopic=223681 To keep this contribution clean, can I ask any other mod writters, if they find any problems to post back in the forum and if applicable I will add these changes to the next update. By doing it this way, other users will not be confused on which version to download etc. Thank you.

Files