Page 1 of 2

Royal Mail shipping option

Posted: Fri Jul 29, 2011 6:54 pm
by MatthewB
Hi

I am wanting to use the royal mail shipping option but after trying it i've notice the prices are cheaper than it actually costs to send them via royal mail.

does anyone know how to sort this?

using version v1.5.1

Re: Royal Mail shipping option

Posted: Fri Jul 29, 2011 7:05 pm
by teratyke
I think the rates are set here..

Code: Select all

catalog/model/shipping/royal_mail.php
Depending on the service you use the rates differ from RM customer to RM customer, so its not one size fits all.

Rob

Re: Royal Mail shipping option

Posted: Sat Jul 30, 2011 7:25 pm
by MatthewB
teratyke wrote:I think the rates are set here..

Code: Select all

catalog/model/shipping/royal_mail.php
Depending on the service you use the rates differ from RM customer to RM customer, so its not one size fits all.

Rob

Thanks, the rates were in that folder. just got to change them all now to what's on royal mails website.

Re: Royal Mail shipping option

Posted: Sun Jul 31, 2011 6:09 am
by uksitebuilder
Not sure if this will help in the interim (see attached)

I need to do it for my sites too and will try and post an updated file when I have it sorted.

Re: Royal Mail shipping option

Posted: Sun Jul 31, 2011 8:49 pm
by MatthewB
uksitebuilder wrote:Not sure if this will help in the interim (see attached)

I need to do it for my sites too and will try and post an updated file when I have it sorted.
04_04_2011_UK_Postal_Rates.xls

Thanks for that, i'd just downloaded the PDF off royal mail site. I'll try post updated file when i get it done just got few more things on site to do.

Re: Royal Mail shipping option

Posted: Mon Aug 01, 2011 2:47 am
by uksitebuilder
Here is the updated Royal Mail file to include the April 2011 prices.

Also fixed some bugs

Bug 1. Array Key for Surface was called Airsure
Bug 2. If getting quote as UK customer International services were showing in addition to UK services

Overwrite the file of the same name in catalog/model/shipping/

for OC Versions 1.5.0.x ONLY

Re: Royal Mail shipping option

Posted: Mon Aug 01, 2011 2:48 am
by uksitebuilder
Same as above but for OC Versions 1.5.1.1/2 ONLY

Re: Royal Mail shipping option

Posted: Mon Aug 01, 2011 3:44 am
by uksitebuilder
Also updated Parcelforce 48

Overwrite the file of the same name in admin/controller/shipping/

** for OC Versions 1.5.0.x ONLY

Re: Royal Mail shipping option

Posted: Mon Aug 01, 2011 3:47 am
by uksitebuilder
Same as above but for OC Versions 1.5.1.1/2

However, I did notice a missing line of code for 1.5.1.x related to entry_weight_class
I have not added the missing line, although I believe it should be added as entry_weight_class_id

Could someone please confirm whether Parcelforce 48 works in 1.5.1.1/2 as I am a 1.5.0.5 user and have no means of testing yet.

Here is the file to put in admin/controller/shipping/

Re: Royal Mail shipping option

Posted: Mon Aug 01, 2011 9:35 pm
by MatthewB
uksitebuilder wrote:Same as above but for OC Versions 1.5.1.x ONLY
royal_mail.php
Hi

Thanks for that i owe you one, i've made site live today as had to many customers complain it's been down to long.
i never had to chance to sort postage prices.

I've still got few products to add and images to add etc but overall it's ready for customers.

Re: Royal Mail shipping option

Posted: Wed Nov 09, 2011 6:59 am
by rpmb
I notice the international shipping still appears for UK orders in 1.5.1.3

Your royal mail for 1.5.1.x is a lot different from the 1.5.1.3 file.

Would this replace the 1.5.1.3 file or should a new fix be applied?

Re: Royal Mail shipping option

Posted: Wed Nov 09, 2011 3:28 pm
by uksitebuilder
My file is not for 1.5.1.3

Daniel updated 1.5.1.3 so that rates can be entered via admin now (this wasn't the case for previous versions of OC)

Feel free to grab the data from my file though for the rates as they are still current

Re: Royal Mail shipping option

Posted: Wed Nov 09, 2011 4:03 pm
by rpmb
Sorry thought I had been specific enough in your file you have fixed the issue that international shipping rates appear even if the customer is in the uk.

This still occurs in the 1.5.1.3 version.

Re: Royal Mail shipping option

Posted: Wed Nov 09, 2011 4:07 pm
by uksitebuilder
Oh right sorry - early morning here, need more coffee.

Will take a look and upload a patched file to fix soon

Re: Royal Mail shipping option

Posted: Wed Nov 09, 2011 4:36 pm
by rpmb
Shows a rate of £1,000 for international signed and I have no idea where that value comes from!

Also when I change and put an address in spain it says no shipping options available

Re: Royal Mail shipping option

Posted: Wed Nov 09, 2011 5:23 pm
by uksitebuilder
and if you revert the file back to the original do you get a Spanish quote for Shipping ?

I just checked on my demo install. Can't reproduce your £1,000 scenario

But I get no shipping quotes for Spain regardless of what file I have uploaded, so guess my Ge Zones need looking at/setting up

Re: Royal Mail shipping option

Posted: Wed Nov 09, 2011 5:28 pm
by uksitebuilder
Actually, looking at it, there should be no need for a fix because Daniel has fixed it in the upgrade, so I have removed my file.

Please revert the original 1.5.1.3 file

I will investigate further once I have my zones set-up correctly

Re: Royal Mail shipping option

Posted: Wed Nov 09, 2011 5:35 pm
by rpmb
With the modification in your file it shows a rate of £1,000.00 for when the address is UK based.

For any other country its no shipping is available so I guess I need to also look at my geo zones.

As soon as I revert back it shows a rate of £16.22 which is correct for the weight of the goods in the cart and that price is coming from rate 2 which is correct according to the code

I believe the problem is that the code is asking if there is the countries in the array then show rate 1 if not show rate 2 however for UK it shouldnt show either

Re: Royal Mail shipping option

Posted: Wed Nov 09, 2011 5:43 pm
by uksitebuilder
Just to clarify, is it showing international shipping rates/options when you choose UK in the Estimator or via checkout ?

Re: Royal Mail shipping option

Posted: Wed Nov 09, 2011 5:53 pm
by rpmb
It shows international signed prices in the estimator and checkout for UK address

I must have a issue with my zones as no shipping is available for the estimator or checkout for other countries.