Zen Cart Logo
Forums / Addon Shipping Modules / [Old] Royal Mail Modules

[Old] Royal Mail Modules

Locked

Views: 220,581

Results 601 to 620 of 936
This thread is locked. New replies are disabled.
30 Jan 2009, 3:01 PM
#601
netearth avatar

netearth

New Zenner

Join Date:
Sep 2008
Posts:
5
Plugin Contributions:
0

[Old] Royal Mail Modules

philip_clarke:

a) You should have kept it in Kg as it means more work. It may be possible to fix this by multiplying everything at somewhere near te final checkout.
b) I thought it was only £500 for special delivery
c) I will look at it this evening.

Hi Philip,

Special is 2.5K (http://www.royalmail.com/portal/rm/jump2?catId=400028&mediaId=400026) not 5/10 as mentioned by me, should have checked really. :)

The only problem with keeping it in KG means it would look silly on a product page. Hence not changing the cart, and simply changing the checkout_shipping to divide by a 1000 would be simpler?

Thanks,

30 Jan 2009, 3:54 PM
#602
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

netearth:

Hi Philip,

Special is 2.5K (http://www.royalmail.com/portal/rm/jump2?catId=400028&mediaId=400026) not 5/10 as mentioned by me, should have checked really. :)

The only problem with keeping it in KG means it would look silly on a product page. Hence not changing the cart, and simply changing the checkout_shipping to divide by a 1000 would be simpler?

Thanks,

Dividing it by 1000 on the one page the client sees (the product page or cart) would be simple, multiplying it by 1000 on the invoices, packing slips, orders, postage modules and reports is a lot more work.

Plus it's now not compatible with anything, so unless I can bodge it in the order object in between the client's shopping cart and the bit where it hits the postage and then goes onto reports... then it can't be done, plus through out the whole admin side of things there's a possibility it's "buggered" if everything is suddenly multiplied by 1000 and yet the text will still display grams.

30 Jan 2009, 4:01 PM
#603
netearth avatar

netearth

New Zenner

Join Date:
Sep 2008
Posts:
5
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

philip_clarke:

Dividing it by 1000 on the one page the client sees (the product page or cart) would be simple, multiplying it by 1000 on the invoices, packing slips, orders, postage modules and reports is a lot more work.

Plus it's now not compatible with anything, so unless I can bodge it in the order object in between the client's shopping cart and the bit where it hits the postage and then goes onto reports... then it can't be done, plus through out the whole admin side of things there's a possibility it's "buggered" if everything is suddenly multiplied by 1000 and yet the text will still display grams.

But do we need to multiply it again by 1000, once the calculation is done, and the correct postage shown, is that that information passed to the next stage, then invoice stage?

Thanks and sorry for being a pain in the a**:)

30 Jan 2009, 4:08 PM
#604
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

The issue will be that it will be locked in the database as a static order object, so it will have been multiplied by 1000 and then carried through regardless, so you'll have 1 gram packages in your reports, packing slips, displaying as 1000 grams . The order become static when paid for for legal reasons, e.g. you invoiced X when you were at address Y, so if you change your shop's address then it doesn't change your previous invoices (which would be illegal for VAt purposes).

30 Jan 2009, 4:17 PM
#605
netearth avatar

netearth

New Zenner

Join Date:
Sep 2008
Posts:
5
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

philip_clarke:

The issue will be that it will be locked in the database as a static order object, so it will have been multiplied by 1000 and then carried through regardless, so you'll have 1 gram packages in your reports, packing slips, displaying as 1000 grams . The order become static when paid for for legal reasons, e.g. you invoiced X when you were at address Y, so if you change your shop's address then it doesn't change your previous invoices (which would be illegal for VAt purposes).

Its not legal until the invoice is generated, which is the final stage, I am thinking about doing this or trying to on the "Delivery information page" before the payment page and concluding on the checkout_confirmation page.

If it can be chabged before then at the delivery information page, then it fits in nice and snug.

31 Jan 2009, 12:32 AM
#606
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

The grams bit that you want can be done with one line of code, it correctly converts for all reports and orders. But only if done in a certain place and that has conditions. other than that it needs 4 or 5 lines or code per module.

The second bit you want requires a function added to an object to fool the module into shipping multiple packages, requires that the maximum value of goods is set to -1 and would make the large assumption that each packet weighed the same, that too also then correctly prints the weight albeit in kilos and the number of boxes being shipped.

As mentioned I'm on strike, the guy to code this is the lead developer of zen cart, called Ian Wilson who posts under the name wilt, you may be able to PM him. He should have a vested interest since his last known location was Newcastle-upon-tyne.

31 Jan 2009, 1:00 AM
#607
netearth avatar

netearth

New Zenner

Join Date:
Sep 2008
Posts:
5
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

philip_clarke:

The grams bit that you want can be done with one line of code, it correctly converts for all reports and orders. But only if done in a certain place and that has conditions. other than that it needs 4 or 5 lines or code per module.

The second bit you want requires a function added to an object to fool the module into shipping multiple packages, requires that the maximum value of goods is set to -1 and would make the large assumption that each packet weighed the same, that too also then correctly prints the weight albeit in kilos and the number of boxes being shipped.

As mentioned I'm on strike, the guy to code this is the lead developer of zen cart, called Ian Wilson who posts under the name wilt, you may be able to PM him. He should have a vested interest since his last known location was Newcastle-upon-tyne.

Hi Philip,

That is excellent to hear or at least it can be done :)

Am I missing something, are you on strike because of the "Total UK" fiasco we see on tv at the moment, or in my stupidity is it a "down tools" in protest against ZenCart or something like that?

Only asking as I dont know :blush:

31 Jan 2009, 1:11 AM
#608
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

netearth:

Hi Philip,

That is excellent to hear or at least it can be done :)

Am I missing something, are you on strike because of the "Total UK" fiasco we see on tv at the moment, or in my stupidity is it a "down tools" in protest against ZenCart or something like that?

Only asking as I dont know :blush:

I do not know what "Total UK" is. I have decided that ZC is better served by the paid developers taking over the modules.

31 Jan 2009, 10:45 AM
#609
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

No it's nothing to do with "Total UK" my wife is foreign and works in the UK.

27 Feb 2009, 9:16 AM
#610
mooncow avatar

mooncow

New Zenner

Join Date:
Apr 2008
Location:
England
Posts:
29
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hi everyone,

I'm using the Royal Mail module. Could someone please tell me how to remove the weight from the checkout and shipping estimator.

I've been to Config>Shipping/Packaging>Display Number of Boxes and Weight Status and set that to 0 (off) but that has only removed the totals at the top of the shopping cart.

On the Shipping Method page, I still have:

Royal Mail 1st Class Large Letter
Great Britain and Northern Ireland Only : 0.258kg

Thanks in advance,

MoonCow

27 Feb 2009, 9:26 AM
#611
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

The weight calculation is hard coded into each module as each module needs the weight to get the right postage. To remove the display of weight, you'd need to recode every module not to return the text

Royal Mail 1st Class Large Letter
Great Britain and Northern Ireland Only : 0.258kg

at the same time that it returns the price.

To clarify: each module returns that text the same time as the price, so each module would have to be edited by hand, you cannot edit a template because then you'd loose the whole text.

27 Feb 2009, 11:39 AM
#612
silverkop avatar

silverkop

Zen Follower

Join Date:
Sep 2006
Location:
U.K.
Posts:
164
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Sorry but where can I find standard airmail rates for Europe and rest of world letters in the Royal mail module. The international_standard file seems to have data post rates in it, or am I missing something!

27 Feb 2009, 12:08 PM
#613
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

you should have

includes/modules/shipping/rmamsmallpacket.php
includes/modules/shipping/rmamassmallpacket.php
includes/modules/shipping/rmisfsmallpacket.php

in your zip file, which is royal mail small packets, royal mail airsure and royal mail interntail signed for. You should not be using international datapost unless it's for crates (and even then you'll probably find a cheaper courier elsewhere).

Philip (the original author).

27 Feb 2009, 1:51 PM
#614
silverkop avatar

silverkop

Zen Follower

Join Date:
Sep 2006
Location:
U.K.
Posts:
164
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Thanks for that, I have those files what I want is Royal Mail Letter rate for Europe and Rest of World. I have some very small items of £1 -2 which my customers have requested to be sent by regular airmail - letter post - as items weigh up to 60gr. Is this possible?

27 Feb 2009, 4:47 PM
#615
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

SilverKop:

Thanks for that, I have those files what I want is Royal Mail Letter rate for Europe and Rest of World. I have some very small items of £1 -2 which my customers have requested to be sent by regular airmail - letter post - as items weigh up to 60gr. Is this possible?

Wha you could do is add to the Royal Mail small packet rate module. In the box where the rates are you have:

0.1:5.39, 0.12:5.51, 0.14:5.64

that means 0.1 Kg as in 100 Grams so you could do

0.06:AAA,0.08:BBB,0.1:5.39, 0.12:5.51, 0.14:5.64

which would give you AAA for the 60 gram rate and BBB for the 80g rate then you add whatever you wanted to. The only other soultion is for me to create a whole Royal Mail Airmail Letter module which I'm not really inclined to !

Philip.

28 Feb 2009, 11:27 AM
#616
silverkop avatar

silverkop

Zen Follower

Join Date:
Sep 2006
Location:
U.K.
Posts:
164
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Phillip, Many thanks for that, I will try it out.

8 Mar 2009, 10:29 PM
#617
davidandrews avatar

davidandrews

Zen Follower

Join Date:
Apr 2006
Posts:
108
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

HI There
I have just downloaded this contrib and want to say THANKS for the work you have done
I have one quick question,

I have a 1.38 install of zencart - do I need to add any UK Zones SQL into my site in order for this to work and it so where is the file (in order for it to show counties etc).

I don't want to add a SQl file to the database and ######## it up!

Thanks again

8 Mar 2009, 10:41 PM
#618
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

You only need UK zones if you are going to be using the parcel force options. For the standard RM modules everything works on country, although if you have chosen to display the shipping estimator it does show a list of counties if you install the UK zones. On the original work I did, I commented out the shipping estimator county display because it's irrelevant and irritating.

In Big RoyalMail version 2.2 the zones SQL is in the "optional" folder ominously named ukzr_optional_county_install-0.0.1.sql but 0.0.1 was perfect so was never upgraded to version 1.0

Philip.

8 Mar 2009, 10:51 PM
#619
davidandrews avatar

davidandrews

Zen Follower

Join Date:
Apr 2006
Posts:
108
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

HI Philip
Thanks kindly for your reply!
I think we owe you a beer or 5 for this contrib, i can't imagine how many hours you have spent on it!

Sorry if I wasnt clear! (or if I don't understand :-) )

I was wanting to have the counties better shown on my zen-cart, does this contrib have everything I need to do that
OR is thethis the purpose of ukzr_optional_county_install-0.0.1.sql??

I looked at that file and not sure if I misunderstand that it was only for "couriers" and not for royal mail?

Sorry for my limited understanding....

8 Mar 2009, 10:58 PM
#620
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

ukzr_optional_county_install-0.0.1.sql contains every UK county and splits the UK correctly into England, Scotland, Wales and Northern Ireland, whereas the default ZC installation is a little USA centric. it also adds an address format more suitable for UK addresses as we have longer zones than most other countries.

Royal mail does not per se need the counties (except maybe the correction for Northern Ireland and Eire) but the counties zone record can make a drop down appear on some people's installations (depends what template you use). To install the SQL file go to your admin page > tools > install sql patches click on the button by upload file and find the file on your hard drive.

There's not any misunderstanding on your part really, you want counties and that's what it has, and they are used for the datapost section of the royal mail, but most people want just 1st class, packets, airmail options, for which counties are not required, hence why it's "optional".

Philip.