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

[Old] Royal Mail Modules

Locked

Views: 220,576

Results 141 to 160 of 936
This thread is locked. New replies are disabled.
23 Oct 2006, 18:28
#141
bouncingltd avatar

bouncingltd

Suspended

Join Date:
Aug 2006
Posts:
127
Plugin Contributions:
0

[Old] Royal Mail Modules

Honest answer: I don't know.

I'm having a look at it now, but it's going to take a bit of time to recreate your exact set up since you must have something like the UK template installed with the zone UKVAT, that I do not, so that may be creating some conflict. I will do my best to get back to you this evening

Thank you

Philip.

23 Oct 2006, 18:45
#142
bouncingltd avatar

bouncingltd

Suspended

Join Date:
Aug 2006
Posts:
127
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Okay, I can sort of see what you mean at the moment, I can recreate the 0 Kg display on my system with a free shipping item, which is obviously wrong, but I am still getting a valid shipping rate for non defined zones. e.g. what I have done is set the free shipper module to mainland UK for the time being, and for the item I have chosen it functions, if I choose an address outside of UK I get a valid Airmail rate, so I think the problem more lies in the area of how you have your free shipping and zones defined. What I would suggest is setting up a zone yourself for one country like Belgium, setting your free shipping item to that zone and seeing if it pops up.

On my set up I can certainly see something going wrong with the module freeshipper (as opposed to freeoptions which I haven't tested) since when I set it to just mainland UK and then explicitly choose somewhere in northern ireland, it shouldn't offer freeshipping yet it does, so I too have something to investigate now.

Thank you

Philip.

23 Oct 2006, 19:37
#143
firehorse avatar

firehorse

Zen Follower

Join Date:
Oct 2004
Posts:
98
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hi Philip,> bouncingltd:

Okay, I can sort of see what you mean at the moment,Thank you for looking into this.

I have installed the UK templates which I think is where the UKVAT setting comes from. I choose UKVAT because I wanted to give free shipping to the UK including Northern Ireland.

I've been reading and reading but I'm still not clear how the different countries and zones link together to arrive at a final cost :cry:

Anyway, the item weighs 0.4kg.

When I remove the free shipping, the item shipping weight is .42kg which is fine. I get :

  • Standard Parcels
  • Standard Parcels (to £100) - item is £40.
  • Collect
  • Courier Shipping (UKZR)

When I put the item on Always free shipping, I get :

  • Free Shipping
  • Standard Parcels
  • Standard Parcels (to £100) - item is £40.
  • Collect

The Courier Shipping option disappears :unsure: I've tried changing the location for delivery to :
United Kingdom - Berkshire
England - Berkshire
All the weights are 0.015kg

I've set freeshipper to UKZR: Zone 1 Mainland UK, which I think is what you are basing thing on.

When I change the address to US, I get a weight of 0.015kg with

  • Royal Mail International Signed For® "Small Packet" Extra insurance
  • Collect

The shipping options are what I expect but the shipping weight to the US is not expected.

Are there any other options you would like me to test?

Thanks
Alan

23 Oct 2006, 22:19
#144
bryony avatar

bryony

Zen Follower

Join Date:
Dec 2005
Posts:
137
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Philip,

I just discovered your RM mod and am so pleased with it - it's all I ever hoped would become available - and that all the correct values have been put in for me is just great!

However, I can only install 5 Royal Mail options before hitting a problem: (I also have free options and free shipper installed to cope with virtual items)

Warning: Variable passed to each() is not an array or object in /home/user/public_html/includes/classes/db/mysql/query_factory.php on line 114

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/user/public_html/includes/classes/db/mysql/query_factory.php:114) in /home/user/public_html/includes/functions/sessions.php on line 102

Warning: Cannot modify header information - headers already sent by (output started at /home/user/public_html/includes/classes/db/mysql/query_factory.php:114) in /home/user/public_html/includes/init_includes/init_templates.php on line 78

I cannot currently install Royal Mail Airmail at all - even if I remove a further option. I have tried to re-configure as suggested in an earlier thread but it doesn't seem to have done the trick for me.

The RM Options I have installed (and working well are: 1st letter/1st lge letter/ 1st packet/2nd lge letter/2nd packet)

As soon as I add 2nd letter I get the above error and if I add Airmail packet I get the following error:

Warning: Variable passed to each() is not an array or object in /home/user/public_html/includes/classes/db/mysql/query_factory.php on line 114

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/user/public_html/includes/classes/db/mysql/query_factory.php:114) in /home/user/public_html/includes/functions/sessions.php on line 102

Warning: Cannot modify header information - headers already sent by (output started at /home/user/public_html/includes/classes/db/mysql/query_factory.php:114) in /home/user/public_html/includes/init_includes/init_templates.php on line 78

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/user/public_html/includes/classes/order_total.php on line 143

Warning: Variable passed to each() is not an array or object in /home/user/public_html/includes/classes/order_total.php on line 144

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/user/public_html/includes/classes/order_total.php on line 163

Warning: Variable passed to each() is not an array or object in /home/user/public_html/includes/classes/order_total.php on line 165

I will do some further investigating to find out what other combinations will be accepted but it's getting very late tonight so I thought I'd post to see if anyone had a quick fix!

PS - running version 1.5 on Zen cart version 1.3.5

Thanks
Bryony

23 Oct 2006, 22:40
#145
bouncingltd avatar

bouncingltd

Suspended

Join Date:
Aug 2006
Posts:
127
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

I agree entirely with your diagnosis as I've been able to recreate this almost identically, looks like there are two bugs.

a) the weights go screwy - which is probably something I can fix but its more likely in the shipping estimator / checkout zen cart core code rather than the modules, in my case the weights just drop out to zero on a 0.4 package
b) ukzr does indeed disappear and this I will be able to fix although I'm not quite sure why a free shipment offer should actually show any other options.

This is a puzzle though, this little lot is almost certainly in someway to do with core code because I think I remember seeing that if free shipping is enabled, everything else should disappear so I may have incorrectly done something with a template. No idea on the timescale at the moment as I do not know how deep this goes.

Thank you

Philip.

23 Oct 2006, 22:47
#146
bouncingltd avatar

bouncingltd

Suspended

Join Date:
Aug 2006
Posts:
127
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Could you upgrade to the version 2.0-beta here please ?

http://bouncing.org/big_royalmail_v2.0-beta-2.zip

You may be working with a corrupted version, this thread has gone on for so long, it's a bit confusing, but one zipped file had filesystem corruption issues. The good thing about version 2.0 upwards is that if you have started putting in handling fees etc... it won't wipe them out when you do a remove and install. I've been running all 18 royal mail services on ZC 1.3.5 and another tester has sucessfully run them all at once, so it's probably best to rule out file corruption.

OH and please report back if it does work, because otherwise I'll worry.

Philip.

23 Oct 2006, 23:05
#147
firehorse avatar

firehorse

Zen Follower

Join Date:
Oct 2004
Posts:
98
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hi Philip,

Thank you for looking into this.> bouncingltd:

a) the weights go screwy - which is probably something I can fix but its more likely in the shipping estimator / checkout zen cart core code rather than the modules, in my case the weights just drop out to zero on a 0.4 packageI can understand why the weight is 0 - IF you have items requiring postage then the free shipping items weight should not get added to the items requiring postage, so the free shipping items weight should stay at 0.

However it looks like when the items is outside of the free shipping zone, the weight is still being counted as 0 for calculation purposes by the shipping modules. Does the postage module check free shipping and set to 0? Does it also check if free shipping qualifies for the delivery zone before setting it to zero?

bouncingltd:

b) ukzr does indeed disappear and this I will be able to fix although I'm not quite sure why a free shipment offer should actually show any other options.

... I think I remember seeing that if free shipping is enabled, everything else should disappear ...Ah ... that makes sense. In that case, it looks like the standard parcel modules are not obeying that disappearing rule :smile:

Great job by the way :thumbsup:

Thanks
Alan

24 Oct 2006, 00:03
#148
bouncingltd avatar

bouncingltd

Suspended

Join Date:
Aug 2006
Posts:
127
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Okay the free shipping "bug" is not an issue that I can really take responsibility for. If an item is set to be a "free shipper" the shopping cart class knocks the weight off entirely. Then if a non-free-shipping item is added it only adds the weight of the non-free item so that the postage modules should then calculate the weight based on the non-free item alone. This is zen cart core code, which isn't something I can modify. The disappearing ukzr module re-appears if a non-free item is added, which is probably the way that all of my modules should do, which means I have a lot of work in store. ukzr is based on mzmt and the original developer I believe is now a core ZC coder, so I think it's probably correct that the courier options disappear when all items in the shopping cart are free, although having said that the issue that I can see arising is, say one offers a free shipping service for an item, and also a priority service, for me this would be "send a lens cap out" 2nd class for free but someone could pay for first class if they wanted to. This facility doesn't exist in zen cart since the bundled free shipping module should disable any other shipping options (except mine don't disable as of yet with the exception of ukzr).

Now all that I can do is disable the modules if the shopping cart only has free shipping items in it. I can also put a flag in that states "enable this module" even if all the items in the cart are free shipping. BUT the weight of the cart is going to be displayed wrong without some major coding, because of the way that zencart knocks off the weight of free shipping items, I'll have to retotal the things up again.

Obviously this is rather a lot of work so I'd prefer a little discussion before deciding what finally to do. It does appear though that the beta is stable, since at least some people are getting results, which is a plus point, although I still have yet to finish the installation instructions and the re-writing of the credits for the contributors, sorry guys.

24 Oct 2006, 11:35
#149
firehorse avatar

firehorse

Zen Follower

Join Date:
Oct 2004
Posts:
98
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hi,> bouncingltd:

BUT the weight of the cart is going to be displayed wrong without some major coding, because of the way that zencart knocks off the weight of free shipping items, I'll have to retotal the things up again.This looks like a bug in the core code because at the moment, it looks like the freeshipper doesn't keep the weight for items not in a valid shipping area. I'll try to confirm this in the shipping section first.

Best regards
Alan

25 Oct 2006, 00:27
#150
bouncingltd avatar

bouncingltd

Suspended

Join Date:
Aug 2006
Posts:
127
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Version 2.0 is now available for download from here

http://bouncing.org/big_royalmail_v2.0.zip

and shortly from the download area. Only slight sort ordering changes visible externally from the beta versions, plus more people have been duly credited for their contributions.

Version 2.1 will be a minor upgrade to disable each module is only free shipping items exist in the shopping cart.

Thank you

Philip.

25 Oct 2006, 15:57
#151
firehorse avatar

firehorse

Zen Follower

Join Date:
Oct 2004
Posts:
98
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hi,

Can someone help me with this. I'm just working my way through setting up ukzr.

Looking at zone 3. Northern Ireland, Isle of Mann & Isles of Scilly.

Under Zones, I already have Country - Northern Ireland with appropriate zones for each county.

Are you saying for the purposes for 'zoning', I add Isle of Mann and Isles of Scilly into Northern Ireland.

So that means the 'county drop down box' for the 'country' Northern Ireland will contain Isle of Mann and Isles of Scilly?

Thanks
Alan

25 Oct 2006, 16:06
#152
bouncingltd avatar

bouncingltd

Suspended

Join Date:
Aug 2006
Posts:
127
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Afternoon,

Nope, you would add the zone to the UKZR zone 3 definition, it won't add them to the drop down box for Northern Ireland, so you ckick on locations/ taxes > zone definitions > details button > insert button and add the isles of man/ scilly and then the counties of Ireland that you also have listed in "United Kingdom" in the pdf file.

Thank you

Philip.

25 Oct 2006, 16:06
#153
firehorse avatar

firehorse

Zen Follower

Join Date:
Oct 2004
Posts:
98
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hi,

Just looking through Zone 2 : Scottish Highlands and Islands.

Is it right that in 'Zones', I create a new country called 'Scottish Highland and Islands', and put in the zones from 'zone 2' from the PDF.

Also in Zone Definitions, I go into "Zone 2 : Scottish Highlands and Islands" -> Details, and add the country "Scottish Highland and Islands' with all zones.

Is that right?

Thanks
Alan

25 Oct 2006, 16:39
#154
firehorse avatar

firehorse

Zen Follower

Join Date:
Oct 2004
Posts:
98
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

HI,> bouncingltd:

Nope, you would add the zone to the UKZR zone 3 definition, it won't add them to the drop down box for Northern Ireland, so you ckick on locations/ taxes > zone definitions > details button > insert button and add the isles of man/ scilly and then the counties of Ireland that you also have listed in "United Kingdom" in the pdf file.Thank you for taking the time to explain. I'm slowly, slowly grasping how this shipping zone things works.

I've put into zone 3 -> details
United Kingdom - Armagh, Antrim, ..., Isle of Man, Isles of Scilly. Nine entries in total.

Now I'm a little confused. If Zone 1 has 'United Kingdom' then won't all 'counties' in United Kingdom including like 'Armagh' be counted as zone 1 rather than zone 3 :unsure:

Now, I'm off to do a similar thing with Zone 2 as I've done with Zone 3.

Thanks
Alan

25 Oct 2006, 16:53
#155
bouncingltd avatar

bouncingltd

Suspended

Join Date:
Aug 2006
Posts:
127
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

firehorse:

HI,Thank you for taking the time to explain. I'm slowly, slowly grasping how this shipping zone things works.
Now I'm a little confused. If Zone 1 has 'United Kingdom' then won't all 'counties' in United Kingdom including like 'Armagh' be counted as zone 1 rather than zone 3 :unsure:

Yes United Kingdom > Armargh would appear in Zone 1 unless you explicity put United Kingdom > Armargh in Zone 3.

Hence why there is some duplication in the documentation, because you have installed the UK template which though politically correct, means you have a lot more things to enter into the UKZR zones than a default ZC installation. Since the UK template duplicates the counties to put them into "new geopolitical countries".

On a normal installation, one would go "Zone 1: united kingdom", "Zone 3: counties of ireland", you have to do "Zone 3: Northern Irleand", "Zone 3: Counties of Northern Island", "Zone 3: Isles of Scilly", and then on top you have to double up for Zone 2 with the Scottish counties listed under the UK and the Scottish listed under Scotland.

Fortunately the postal office has not split up Wales yet. I'm sorry but the only way to define the Zones is manual, a sql script does not work because of the various releases and modifications made to the zones over the years, the zones are autoincremented, so there is not a unique ID to lock onto, and there are for example another two uk county zone files from the download area on this website. If you are using a recent UK template, you should also check that you have Londonderry as opposed to Londnderry as I noticed a spelling mistake in the last sql release.

Thank you

Philip.

25 Oct 2006, 17:16
#156
firehorse avatar

firehorse

Zen Follower

Join Date:
Oct 2004
Posts:
98
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hi,> bouncingltd:

Yes United Kingdom > Armargh would appear in Zone 1 unless you explicity put United Kingdom > Armargh in Zone 3.So just be clear, for Zone 1, I can keep the entry of 'United Kingdom' - 'All Zones' because zencart will pick up that I have defined 'United Kingdom - Armargh' specifically in zone 3, right? :unsure:

The same reasoning with the Scottish counties as well?

bouncingltd:

If you are using a recent UK template, you should also check that you have Londonderry as opposed to Londnderry as I noticed a spelling mistake in the last sql release.Thanks, I noticed that. :thumbsup:

Thank you for your patience
Alan

25 Oct 2006, 17:21
#157
bouncingltd avatar

bouncingltd

Suspended

Join Date:
Aug 2006
Posts:
127
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Yes to zone 1.

27 Oct 2006, 07:52
#158
firehorse avatar

firehorse

Zen Follower

Join Date:
Oct 2004
Posts:
98
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hi Phillip,> bouncingltd:

a) the weights go screwy - which is probably something I can fix but its more likely in the shipping estimator / checkout zen cart core code rather than the modules, in my case the weights just drop out to zero on a 0.4 packageI've got an answer from Ajeh here http://www.zen-cart.com/forum/showthread.php?p=282874#post282874

Does that help?

Best regards
Alan

27 Oct 2006, 16:45
#160
bouncingltd avatar

bouncingltd

Suspended

Join Date:
Aug 2006
Posts:
127
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Yes that would be the area that I found previously, the quick fix is just to turn off the showing of the shipping weights. I'll be starting work on the disabling of the free shipping options tonight and then will get over to the weight calculation on foreign options afterwards, but I shall be requiring to set up a brand new test server for this as my own site will have to go live probably this weekend too.

Thanks

Philip.