-
Re: New Royal Mail Modules
Quote:
Originally Posted by
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/j...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,
-
Re: New Royal Mail Modules
Quote:
Originally Posted by
netearth
Hi Philip,
Special is 2.5K (
http://www.royalmail.com/portal/rm/j...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.
-
Re: New Royal Mail Modules
Quote:
Originally Posted by
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**:)
-
Re: New 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).
-
Re: New Royal Mail Modules
Quote:
Originally Posted by
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.
-
Re: New 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.
-
Re: New Royal Mail Modules
Quote:
Originally Posted by
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:
-
Re: New Royal Mail Modules
Quote:
Originally Posted by
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.
-
Re: New Royal Mail Modules
No it's nothing to do with "Total UK" my wife is foreign and works in the UK.
-
Re: New 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
-
Re: New 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.
-
Re: New 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!
-
Re: New 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).
-
Re: New 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?
-
Re: New Royal Mail Modules
Quote:
Originally Posted by
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.
-
Re: New Royal Mail Modules
Phillip, Many thanks for that, I will try it out.
-
Re: New 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
-
Re: New 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.
-
Re: New 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....
-
Re: New 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.
-
Re: New Royal Mail Modules
From the 6th April 2009 the prices will change, quite substantially, 14 p increase on packets, 9 p on large letters 6p on first class.
If anyone is interested I shall be working on a SQL update that will just go into the Install SQL Patches section of zen cart. This data will not be GPL because of the whole I'm on strike thing.
Philip.
-
Version 2.2 New Royal Mail Modules
I has just come to my attention that there is a serious data entry error in the airmail side of the royal mail modules in Version 2.2.
This will be corrected by this evening. There also exists minor errors in Standard Parcels and all other insurance versions, as well as the signed for process.
It may be that for the last year prices have been being undercharged by 20p on inland post but up to £14.87 !! on worldwide airmail deliveries.
It will be posted here when 2.3 is ready.
Philip.
-
Version 2.3 New Royal Mail Modules Released - Security Upgrade
Until the zen team can review it it can be downloaded from here.
http://########################.co.uk/versions/b...lmail_v2.3.zip
Here is a summary of the changes, including SQL insertion and XSS flaws, and I threw in a couple of new modules (4 actually) for extra insurance on special delivery items as well as corrected numerous mistakes. Postal prices are valid until 6th April 2009 after that a SQL patch will be available for the new postal rates.
Released under the GPL, please send donations to [email protected], thank you.
9/03/2009 - 2009 (c) Philip Clarke
Rates correct to April 5 2009, SQL patch will be released for the 2009 rate increase,
Works with Zen Cart version 1.3.5 to 1.3.8
Airmail, Airsure, Airsure 500, International Signed for, ISF 500 Rates all corrected.
Standard Parcels, 100, 250 and 500 corrected and cleaned up.
Security update
Prior to this release, optional components for shipping estimator had XSS and possible SQL insertion flaws
New for 2.3
Added Special delivery £1000 and £2500 insurance options.
confirmed working with ZC versions 1.3.0 to 1.3.8
-
Re: New Royal Mail Modules
HI Philip
Thanks for all your brilliant advice, so far.
I have a quick question
on testing my icons for the postage solutions aren't showing, just text repeated
is this a CHMOD issue?
Thanks
Samantha
-
Re: New Royal Mail Modules
Sorry, my fault, icons in wrong folder.
My mistake...... Sorry
-
Re: New Royal Mail Modules
That's okay, if it's an instruction issue, please tell me where I can make changed. 2.3 is a quick fix release 2.3.1 will have some cleaning up done to it which I'm going through now, like superfluous text boxes, comments in the code.
Philip.
-
Re: New Royal Mail Modules
One thing that caught me out was the update date displayed in the Eurozone 48 install message - it said 2006. A check through the file and editing the date to 2009 told me the right service was available.
Which leads me into the real problem I'm having.
On both 1.3.7 & 8 with the Mutual Advantage UK template, I can not get past step 1 of 3 in the checkout process, using either the Eurozone 48 or the International Standard shipping options, if my account shipping location is any European country except the UK.
It wasn't working (for me at least) with the earlier version which is why I tried the lastest update.
Am I missing something simple?
Thanks
Kev
-
Re: New Royal Mail Modules
Something simple: the address you may be using may not be in a zone because you haven't installed European zones.
But I'll install and examine the Mutual Advantage Template later on tonight, it may be a zone record issue though, in which case I'd need to examine your setup because my zones are pretty much set up correctly for the last couple of years.
With regards to the 2006, well that's what the prices were in 2006, whether someone updated the prices while I was not in the project is another things entirely, as they may have forgotten to update the text. I am actively working on SQL updates for the module to bring everything bang up to date. I know that the airmail services were very much out of synch with last years prices, and I only corrected them to last years price list as that's what I have and it was a quick fix required yesterday.
A SQL update for prices is preferable as it's instant and doesn't require uninstalling and re-installing the modules, so that's the way I'm going and it will be ready for the main royal mail services within the next two days, probably with the datapost and parcel force options following on just after the weekend. That is "if" this mutual uk template doesn't take too much time.
The funny thing is, that 3 years ago, the mutual UK template was one of the sources for the UK zones that are used for parcelforce and datapost.
-
Eurozone 48 and another important update to modules
Quote:
Originally Posted by
mutualadvantage
One thing that caught me out was the update date displayed in the Eurozone 48 install message - it said 2006. A check through the file and editing the date to 2009 told me the right service was available.
Which leads me into the real problem I'm having.
On both 1.3.7 & 8 with the Mutual Advantage UK template, I can not get past step 1 of 3 in the checkout process, using either the Eurozone 48 or the International Standard shipping options, if my account shipping location is any European country except the UK.
It wasn't working (for me at least) with the earlier version which is why I tried the lastest update.
Am I missing something simple?
Thanks
Kev
Honest answer, "I don't know if you are missing something simple". I have however found something bad in Eurozone 48 that may help you, first port of call is to install this 2.3.1 (AND EVERYONE ELSE SHOULD TOO)
http://########################.co.uk/versions/b...ail_v2.3.1.zip
because I made a mistake in airsure 500 where I'd left some debugging things inside and it splurges zone rates all over the page in a H2 header so it's obvious. Also Eurozone 48 is missing some options that seem to have disappeared over the years including the all important "hide invalid shipping".
Now getting back on track. we'll go through the basics.
In your admin you should have some zones set up Admin/ Locations / Zone definitions because the modules need to know where each country is, if not then uninstall and re-install Euro48 and international standard, they should pop in there automatically with the correct countries in each zone (I've really got to hand it to myself, I did a great piece of programming then, because I seriously could not remember how it had been done and was expecting something really complex).
Once you have installed the new modules, then add a fake french address and order something. In eurozone 48 and whichever other ones you want to turn "Hide Invalid Shipping" to true, that way you should be able to see why you are not getting any options displayed. In the case I was testing out, the first thing that popped up was that my cart was bigger than £250 which was set as the maximum order value in both modules but because I had invalid shipping set to false, I couldn't see the shipping options.
That should at lest get you started a bit further along the way and hopefully get picked up by any search engines for common mistakes when installing the modules, in the next release I'll turn all the invalid shipping options to "false" so that people can debug better.
Philip.
-
Re: New Royal Mail Modules
Thanks for the reply Philip. I've been through all you suggest and I still can't get past the first of the 3 checkout procedure pages, selecting the shipping method on the checkout_shipping page (step 1 of 3)
The zones are in place, all of the correct information relating to shipping type, weight and cost display, but if I click on the 'continue' button (tried both CSS and standard) I am not progressed to step 2.
It's almost like ZC isn't processing the module or getting an expected return value?
I also removed all other shipping modules except Euro48 and still couldn't get to step 2.
I also get the same result using the default template.
Thanks
Kev
-
Re: New Royal Mail Modules
Yes I see what you mean, it apepars to submit and then redirect back to the page, yet doesn't for other options like airsure.
I'll have to get some debugging into there and find out where the problem is.
Philip.
-
Re: New Royal Mail Modules
Hi - is it possible to use this extension to do the following:
my client wants to have the following options available:
next day £5.50,
next day before midday £10.50
next day before 10.30 £15.00
saturday before midday £32.00
I've looked at zonetables and maybe a conversion of the flat rate but I was wondering if there was a simple way out there first (not being a lazy beggar first of course).
thanks
-
Re: New Royal Mail Modules
Basically no, especially the saturday one.
It would be quite easy to copy some modules and convert them and the text descriptions though, the saturday one would require a bit of module modification so it only turns on on a friday (I have done this before).
Philip.
-
Re: New Royal Mail Modules
cool thanks - oh well that'll teach me! I'll have a look at the flat rate option and doing copies of that then.
thanks again
-
Re: New Royal Mail Modules
Flat rate may not be good if his items vary by weight, these set would be more appropiate for conversion. Royal mail 1st packet would be a good one to start with, as it has scope for weight expansion, unless his courier has a whole "scottish highlands" thing going on, and then he'd need UKZR and that will be alot more work.
Philip.
-
Re: New Royal Mail Modules
Hi,
I'm just updating my shipping mod as it's currently working with "World Zone 1" and "World Zone 2" (which Royal Mail used to be using). As Royal Mail's airmail prices are now divided between "Europe" and "Rest of World" I need to update the country codes. Can anyone here confirm that the country codes used by ZenCart are ISO 3166-1 alpha-2?:
http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
Does anyone have a list of the codes for Europe and Rest of World?
Thanks in advance,
MoonCow
-
Re: New Royal Mail Modules
Can you confirm which version of these modules you upgraded from and to ? and also which version of zen-cart you've got ? because ZC may have installed different country codes at different times (certainly has done due to changing political landscapes).
I also do not understand the question as for the Airmail, Airsure and international signed for, they should be split into Europe and the rest of the world right now with no additional modifications needed. I have
Code:
Royal Mail defined European Countries
AL, AD, AM, AT, AZ, BA, BE, BG, BY, CY, CZ, DE, DK, EE, ES, FI, FO, FR, GI, GL, GR, HU, HR, IS, IE, IT, KZ, LI, LT, LU, LV, MK, MT, PL, PT, SE, SI, SK, SM, RU, UZ, UA, TM, TR, TJ, CH, MD, MC
Royal Mail defined World Zones 1 & 2 Countries
AX, AF, DZ, AS, AO, AQ,AI, AG, AR, AW, AU, BS, BH, BD, BB, BZ, BJ, BM, BT, BO, BW, BV, BR, IO, BN, BF, BI, KH, CM, CA, CV, KY, CF, TD, CB, CL, CN, CX, CC, CO, KM, CG, CK, CR, CI, CU, DJ, DM, DO, TP, EC, EG, SV, GQ, ER, ET, FK, FJ, FX, GF, PF, TF, GA, GM, GE, GH, GI, GD, GP, GU, GT, GN, GW, GY, HT, HM, HN, HK, IN, ID, IR, IQ, IL, JM, JP, JO, KE, KI, KP, KR, CS, KW, KG, LA, LB, LS, LR, LY, MO, MG, MW, MY, MV, ML, MH, MQ, MR, MU, YT, MX, FM, MN, CS, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PA, PG, PY, PE, PH, PN, PR, QA, RE, IE, RO, RW, KN, LC, VC, WS, ST, SA, SN, CS, SC, CL, SG, SB, SO, ZA, GS, ES, LK, SH, PM, SD, SR, SJ, SZ, CH, SY, TW, TH, TG, TK, TO, TT, TN, TC, TV, UG, AE, US, UM, UY, VU, VA, VE, VN, VG, VI, WF, EH, YE, YU, ZR, ZM, ZW
and that hasn't changed for about 3 years.
Philip.
-
Re: New Royal Mail Modules
Oops, sorry, my mistake. I currently have the same as you (but that's the problem). It's just that I noticed things have changed a bit with Royal Mail (don't know when it happened). If you have a look at this page:
http://www.royalmail.com/portal/rm/c...diaId=53600700
...you'll see that there is now no mention of World Zones 1 or 2 - it's just "Rest of the World" now.
A couple of days ago, someone from Norway (country code: NO) bought something from my website and they were charged shipping to a "World Zone 1 & 2" country, but if you look on the Royal Mail page above, you'll see that Norway is in the Europe list now.
So that's why I thought I needed to update my shipping module, but perhaps it's not just me?
-
Re: New Royal Mail Modules
That's quite funny, I have on my wall the chart dating from last april and it's been that way "i think" since the april before that.
Someone else released the versions when I quit, and since I'm back all I have done is correct the biggest errors. They'll be a SQL patch that will update all the rates for each module to bring it up to the standards for the change on 6th April 2009 so I'll sort it out then. There's a eurozone bug that needs yet another release too, so I am focussing on "bugs in the module" and "SQL updates for data" which will split the two nicely so that then I no longer have to worry about data problems.
-
Re: New Royal Mail Modules
Quote:
Originally Posted by
MoonCow
Oops, sorry, my mistake. I currently have the same as you (but that's the problem). It's just that I noticed things have changed a bit with Royal Mail (don't know when it happened). If you have a look at this page:
http://www.royalmail.com/portal/rm/c...diaId=53600700
...you'll see that there is now no mention of World Zones 1 or 2 - it's just "Rest of the World" now.
A couple of days ago, someone from Norway (country code: NO) bought something from my website and they were charged shipping to a "World Zone 1 & 2" country, but if you look on the Royal Mail page above, you'll see that Norway is in the Europe list now.
So that's why I thought I needed to update my shipping module, but perhaps it's not just me?
Oh you asked for a tricky one involving all kinds of politics and ISO dominace.
These were the tricky ones
'Azores', PT
'Balearic Islands', ES
'Canary Islands', ES
'Corsica', FR
'Kosovo', Agreed not to use !
'Madeira', PT
'Montenegro', ME
'Serbia', RS
Kosovo in particular as passports were issued during UN occupation but now the code has been agreed not to use and there is no current ISO guideline for what to use.
The current complete list of "european" codes is:
Code:
AL, AD, AM, AT, AZ, BY, BE, BG, HR, CY, CZ, DK, EE, ES, FO, FI, FR, GE, DE, GI, GR, GL, HU, IS, IT, KZ, KG, LV, LI, LT, LU, ME, MK, MT, MD, MC, NL, NO, PL, PT, RO, RS, RU, SM, SK, SI, SE, CH, TJ, TR, TM, UA, UZ, VA
which covers all of the above. BUT there will be a change in airmail and all other services entirely.
What will happen is that since world zones 1 & 2 have been withdrawn, the modules will work like this:
- If the country code is in the above list then quote for Europe,
- If not then quote for the rest of the world.
This requires modification of all of the airmail modules but is does mean another thing, which is that if one has not set up oe's shop to have the Azores in the country drop down list, then the shopper would a) not be able to buy so wouldn't get to the modules b) the system only works if the shop owner puts the Azores in the ISO Portugal code. The modules are set up about as perfect as they can be, with this new generalised setting, howevre they are still reliant on the shop being set up correctly further up then chain.
These changes along with corrections for eurozone 48, international datapost and international standard will be released this weekend on my website. It seems that whomever is vetting the modules for download is taking their time at the moment, since I have a payment module upgrade outstanding as well as 2.3 and 2.3.1 not having made it onto the add-in list on this site at the moment, so it'll come of one of my server's until I get notified that it's "live" on this site.
Philip.
Philip.
-
Re: New Royal Mail Modules
A point of interest here, the new codes add:
Code:
+--------------+-------------------------------+----------------------+----------------------+-------------------+
| countries_id | countries_name | countries_iso_code_2 | countries_iso_code_3 | address_format_id |
+--------------+-------------------------------+----------------------+----------------------+-------------------+
| 80 | Georgia | GE | GEO | 1 |
| 115 | Kyrgyzstan | KG | KGZ | 1 |
| 150 | Netherlands | NL | NLD | 1 |
| 160 | Norway | NO | NOR | 1 |
| 175 | Romania | RO | ROM | 1 |
| 228 | Vatican City State (Holy See) | VA | VAT | 1 |
+--------------+-------------------------------+----------------------+----------------------+-------------------+
So you spotted Norway correctly, but it's a bit of a surprise that no-one's mentioned the Netherlands has been missing from Europe. It appears that the Netherlands and Norway both appear in international signed for and airsure already.
International signed for will get the same treatment, I "think", but airsure has strict country limitations and so will not be changed for the same "IF in europe" process.
Philip
-
Re: New Royal Mail Modules
Further Investigation reveals that over the last 3 years the royal mail has added to it's airsure service:
Quote:
You can send mail by Airsure® to 30 destinations in the following three geographic postal zones:
Europe: Andorra, Austria, Azores, Balearic Islands, Belgium, Canary Islands, Corsica, Denmark, Faroe Islands, Finland, France, Germany, Iceland, Liechtenstein, Luxembourg, Madeira, Monaco, Netherlands, Portugal, Republic of Ireland, Spain, Sweden and Switzerland.
World Zones: Brazil, Canada, Hong Kong, Malaysia, Singapore, New Zealand and USA
So I'll add the new countries to the list. It's interesting to see that Italy still has not made it to the list. When I was running a shop which eventually sent out items to 48 countries at 20 items a day, Italy lost more packages than any other country with the USA and Australia coming second and third, where the packets were either delyaed massively or damaged in transit. With the USA in particular, it happened very suddenly as if new regulations came into force and was about the time of all the new patriot laws.
-
2.3.2 Royal Mail Modules released
The lateste version 2.3.2 has been released.
http://########################.co.uk/versions/b...ail_v2.3.2.zip
Upgrade for 2.3.2
VERY IMPORTANT - please physially remove the files big royal mail will not work if these are present on the system.
includes/languages/english/modules/shipping/international_datapost.php
includes/languages/english/modules/shipping/international_standard.php
includes/languages/english/modules/shipping/eurozone_48.php
includes/modules/shipping/international_datapost.php
includes/modules/shipping/international_standard.php
includes/modules/shipping/eurozone_48.php
version 2.3.2
15/03/2009 - All airmail countries have been altered to move from Royal Mail's 2006 definitions to 2009. Airsure countries have been corrected, The code base for Airmail and International Signed has been altered to create a cleaner more accurate code, reflecting the Royal Mail's change from Europe, World Zone 1 & World Zone 2, to Europe & the Rest of the World.
12/03/2009 - International Datapost, International Standard and Eurozone 48 all have to be upgraded because or a bug in the filename and bigroyal mail will not work unless the old files are removed before installing this release. See INSTALL.txt for the files to remove.
Please note, Norway has been removed from Airsure deliverys now although the list has expanded, and the correct countries from the royal mail website here:
http://www.royalmail.com/portal/rm/c...00034#13300225
have been added.
-
2009 Royal Mail SQL updates available
The SQL updates for the Royal Mail postage rates from 6th April 2009 are now available. The following services are covered.
- Royal Mail 1st Class Letter
- Royal Mail 1st Class Large Letter
- Royal Mail 1st Class Packet
- Royal Mail Recorded Signed For 1st Class Letter
- Royal Mail Recorded Signed For 1st Class Large Letter
- Royal Mail Recorded Signed For 1st Class Packet
- Royal Mail 2nd Class Letter
- Royal Mail 2nd Class Large Letter
- Royal Mail 2nd Class Packet
- Royal Mail Recorded Signed For 2nd Class Letter
- Royal Mail Recorded Signed For 2nd Class Large Letter
- Royal Mail Recorded Signed For 2nd Class Packet
- Royal Mail Standard Parcels
- Royal Mail Standard Parcels £100 insurance
- Royal Mail Standard Parcels £250 insurance
- Special Delivery
- Special Delivery 9am
- Special Delivery £1000 insurance
- Special Delivery 9am £2500 insurance
- Special Delivery £2500 insurance and Special Delivery 9am £2500 insurance
and European and World Wide Rates for
- Royal Mail Airmail Small Packets
- Royal Mail International Signed For Small Packets
- Royal Mail Airmail Airsure Small Packets
- Royal Mail International Signed For Small Packets up to £500 insurance
- Royal Mail Airmail Airsure Small Packets up to £500 insurance
-
Re: New Royal Mail Modules
Hi, im new to using zen cart and have the most up to date version, i have installed Big Royal Mail but when making a test purchase i get the following msg on the first class, second class large letter options - "this shipping rate could not be determined at this time" plus on the packet option it is calculating my product weight at a much higher weight than it acually is. what do i need to do to get Big Royal Mail working properly?
-
Re: New Royal Mail Modules
Big royal mail is working properly, but your shop is mis-configured (a subtle yet important difference). The most likely cause is that your shop is adding weight to your items. In Zen cart's Admin click on configuration > shipping packaging and you'll find out how ZC is adding weight to your packages. Because ZC is American/ Canadian based and they use pounds, on new shops they add 3lbs to the shipping weight, whereas the royal mail works in kilos so adding 3 Kg exceeds the royal mail's weight criteria. The settings I recommend are
Package Tare Small to Medium - added percentage:weight should be set 10%:0 which will add 10% to the weight of your items for small objects and Larger packages - added packaging percentage:weight should be set to 8%:0 which will add 8% weight to larger items.
Ignore that ZC says lbs in the boxes, as the unit is irrelevant the royal mail is in kilos, the "lbs" is justa bit of text stuck on the end and can be changed by editing
admin/includes/languages/english.php
and
includes/languages/english.php
where you change TEXT_PRODUCT_WEIGHT_UNIT and TEXT_PRODUCT_WEIGHT_UNIT and TEXT_SHIPPING_WEIGHT to kilos so that it shows the correct text in your shop.
Philip.
-
Re: New Royal Mail Modules
Hi Philip,
I have just upgraded to V2.3.2 -- Thank you for the time and work, you are spending on this module.
I have noticed that the cost of 1st class packet and 1st class packet recorded are the same price, have I forgot to do or add something here?
Were do we get the SQL file with the new postal prices?
Thanks
Tropheus
-
Re: New Royal Mail Modules
I'll check the zip file through this evening in case I've made an error.
Philip.
-
Re: New Royal Mail Modules
Quote:
Originally Posted by
Tropheus
Hi Philip,
I have just upgraded to V2.3.2 -- Thank you for the time and work, you are spending on this module.
I have noticed that the cost of 1st class packet and 1st class packet recorded are the same price.
I've had a look and the prices are different for both services by 72 pence, when you installed did you click on each one and "remove" and then "install" ? the handling fees are maintained and are not overwritten. I've checked the zip file and then also run the file through on a new site. In the "old" way the prices were the same and then the signed for had a bit of hard coding that incremented the amounts by 0.72 or whatever it was at the time, but that was removed because it made the prices much more difficult to update, so I suspect that you are seeing old date through the new modules, and need to hit remove and then install,
Philip.
-
Re: New Royal Mail Modules - version 2.3 bug
If when installing a module from version 2.3 and above you get an error similar to the following:
Code:
1062 Duplicate entry 'MODULE_SHIPPING_RM1STLARGELETTERSF_HIDE_SHIPPING_ERRORS' for key 2
in:
[insert into zen_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Hide Invalid Shipping', 'MODULE_SHIPPING_RM1STLARGELETTERSF_HIDE_SHIPPING_ERRORS', 'False', 'Hide this shipping service if it is not valid (either due to exceeding the maximum weight or the min & max order values).', '6', '0', 'zen_cfg_select_option(array(\'True\', \'False\'), ', now())]
then click back, click "remove" onn the module (as it will only be half installed) and then click "install" again.
What is happening, is that the previous modules did not uninstall cleanly and so left information in the database and inserting new information fails BUT un-installing and then re-installing works as the new modules correctly clean the database up.
I am currently working on a "blank" set of royal mail modules that will nisert the bar minimum into the database for people that have modified their own installations or have had the SQl patch installed and do not want to overwrite their data. It should be finished over the next couple of days.
Philip.
-
Re: New Royal Mail Modules
Hi Guys
I am having installation problems, check out this link below, everything went into each folder fine and the sql enterted fine but i have errors any ideas how to put right cos that looks a mess?:
https://www.canvas-style-art.co.uk/i...ain_page=login
Cheers
Egg
-
Re: New Royal Mail Modules
Hi,
Yep that's a mess.
Which SQL did you put in ? because there is no need with a standard installation to put any in at all, and it looks like you may have put the uninstall sql in and then killed the constants in your database.
I think you should PM me or email me, quickly and we'll try and sort it out, as I'm free now but tied up later.
Philip. (the creator or the modules)
-
Re: New Royal Mail Modules
Hi Philip,
Would just like to thank you Philip for installing the postal updates for me on my websites, its saved me hours of work!
Cheers and keep up the good work.
-
Re: New Royal Mail Modules
And I would like to say that him up there ^^Tropheus^^ is the first ever person in 10,000+ downloads to have donated any funds to the modules and it was a pleasure to have installed the updates.
A new update will be available this weekend, it's going well and one of the "cool new features" is something that should have been done years ago by myself, namely putting the version numbers in admin so that people can see if they are up to date. There's also a new module, ukcourier that is a very simple courier module for those that don't want to set up zones and have fixed price/ weights. Under the hood all modules will try and clean up any of the erroneous data left from previous installations, and the legacy code is going to be removed since that last "bug" was due to someone installing and then running the legacy SQL without reading the instructions which then wiped the database or the royal mail values.
Philip.
-
Re: New Royal Mail Modules
Probably not the best time to ask, but if you dont ask you dont get !
On Next Day Special Deliveries that are booked late Thursday and On Fridays I would like to be able to collect the £2 that the Royal Mail charge for Saturday deliveries.
Also have a secondary issue in that I offer 1st, 2nd class and Standard Parcels options. Customers keep choosing standard parcels for lightweight items even though the cost is double and takes twice as long for delivery. I send parcel 1st Class instead, but because I offer Nochex which doesnt give partial refunds, I have to keep writing out cheques to refund the postage and put them in with their order.
Is there anyway that Standard Delivery could not be shown if its more expensive than 1st or 2nd class.
-
Re: New Royal Mail Modules
I assume the sentence:
Quote:
Is there anyway that Standard Delivery could not be shown if its more expensive than 1st or 2nd class.
should be
Quote:
Is there anyway that Standard Parcels could not be shown if its more expensive than 1st or 2nd class.
The answer would be "no", the modules are independent of one another so standard parcels cannot tell if first is going to be more expensive, the only way to get close to it, its to "nobble" (technical term that) your modules, and work out at which weight 1st class become more expensive and then remove all the weights afterwards and turn on hide invalid shipping, that would at least remove any 1st class options that were more expensive than standard parcels which is the opposite to the specified problem.
The issue with standard parcels is that it's banding goes from 0 to 2 kg. In theory I could put in some could to specify a lower weight limit which seems sensible as we have lower and higher price limits so we could have 1st class quoted to 1.5 Kg (by nobbling) and standard parcels quoted above that weight by setting a minimum limit in admin. Since I am working on the modules for most of this weekend, I shall see which is the best way to implement this (if possible).
With regards to the saturday module, it is possible, but it would run concurrently to all the special delivery modules because someone in an office address may wish to order an item to arrive at their workplace on Monday, whereas someone else may want something delivered at home. The postal modules have no facility to add a supplement with a tick box in the current set up which is a pity as it means duplicating the modules. I would say that Thursday 5:30pm to Friday 4:30pm would be the only time it should initiate as that is after the post office would be closed for taking orders leaving the ordering window as large as possible, although it may be possible to set a time in the module. BUT this is dependent on the server time being correct which is something beyond my control.
Philip.
-
Re: New Royal Mail Modules
Hi Phillip
Thanyou for all your hard work and support here fella!!
I've just installed the 2-3-2 version.. I am just useing the Royalmail 1st and 2nd class signed for modules and the special delivery next day modules..
So far all I'm getting from the checkout screen is (The shipping rate cannot be determined at this time) For all 3 of these modules.
http://harwichhomebrew.com/
Is there something I still must do.. :dontgetit
Thanks in advance for your help..
Steve..
-
Re: New Royal Mail Modules
Things to do:
- Check your shopping cart is under £32.00 as there is a maximum order value for both of those modules.
- go to Admin > Configuration > shipping/ packaging you should have Package Tare Small to Medium - added percentage:weight set to 10%:0 and Larger packages - added packaging percentage:weight set to 8%:0
- check that your weight are correct in that they have been put in kilos when netering product data
You can read the blurb about shipping /packing weight and make your own choices later, the basic USA zen cart dumps 3 Kg onto each package (It thinks its in lbs) and then pushes the shopping cart out of the max weight values for the postal service, if the fault persists then I'll have a look and it is probably worth while turning on Display Number of Boxes and Weight Status in shipping/packaging so you can see what the weight is being calculated.
Philip.
-
Re: New Royal Mail Modules
Thanks Philip, it was indeed the max value... My test cart was £42
I'm not entirly sure of RM rates or indeed there max weights. I do believe it all changes anyway in a couple of weeks with RM Increases taking effect..
The £32 max value on them modules... is this set by RM for them services.. I do see where to change this, but should I.
Thanks Again for your help..
-
Re: New Royal Mail Modules
The £32.00 is the maximum the Royal Mail wil pay out in the event of the package being lost. The choice is yours whether you wish to send out the items under thoses terms and conditions, that's why it's placed like that, so that you are aware of the Royal Mail's position.
All rates change on 6th April and there is a SQL patch available.
-
Re: New Royal Mail Modules
Hi,
I'd like to remove this section which is displayed at the checkout:
Estimate Delivery Costs
Country: Please Choose Your Country United Kingdom
State/Province: Type a choice below ...
Post/Zip Code:
Basically because it is going to be the same for every customer. I only ship to the UK using Royal mail.
So I'm guessing, but I would need to set UK as default for country and then hide all the fields
Anyone know which file I need to mod and which code?
Many Thanks
-
Re: New Royal Mail Modules
You should have a look at:
big_royalmail_v2.3.2/optional
big_royalmail_v2.3.2/optional/shopping_cart.php
big_royalmail_v2.3.2/optional/shipping_estimator.php
big_royalmail_v2.3.2/optional/tpl_modules_shipping_estimator.php
these replace the normal shipping estimator with a less blocky table (although the code is about 3 years old) but there you should find where you can knock off the counties.
Philip.
-
Re: New Royal Mail Modules
thanks - I've removed the code but how can I just rem it out?
I tried // or <!
Thank you
-
Re: New Royal Mail Modules
Hi Philip,
I'm not sure if you have already updated this, but the compensation is currently £36, which should go up to £39 on the 6th April as it tends to follow the price of 1st class stamp. I just thought I would mention it while you are working on it.
-
Re: New Royal Mail Modules
For REM - ing out (long time since I've heard that expression),
inside php it is
Code:
// at the beginning of a line
Code:
/* can
surround multiple
lines */
in html
Code:
<!-- <b> this is some html </b> -->
-
Re: New Royal Mail Modules
Quote:
Originally Posted by
tonyrobbo
Hi Philip,
I'm not sure if you have already updated this, but the compensation is currently £36, which should go up to £39 on the 6th April as it tends to follow the price of 1st class stamp. I just thought I would mention it while you are working on it.
As mentioned before, the max insurance the royal mail would pay out is a guideline only and individuals can assess their own requirements, the insurance and handling fees are never updated if someone installs a royal mail upgrade because people tend to change them frequently. The rates are now separate from the modules themselves which are reasonably correct and accurate to 6th April 2009 and a SQL update is available for the UK and for the Airmail services.
Currently Eurozone 48, international standard and international datapost are lagging behind in the updates as they are not frequently used. the UKZR modules is for making a UK specific customised courier modules and the newest module that will be going in tonight is called ukcourier and is a basic courier module for people that don't want to go to the lengths of splitting the country into the "Scottish Highlands" and "Argyll and Bute".
Philip.
-
Re: New Royal Mail Modules
Thanks for that. I've removed all but the country and thought I'd be able to remove the choose a country text and replace with UK but i still have to select uk from the drop down
define('PULL_DOWN_DEFAULT', 'United Kingdom');
Can I change this code in tpl_modules_shipping_estimator.php to auto select the second item in the list?
<label class="inputLabel" for="seAddressPulldown"><?php echo CART_SHIPPING_METHOD_ADDRESS; ?></label>
<?php echo zen_draw_pull_down_menu('address_id', $addresses_array, $selected_address, 'onchange="return shipincart_submit();" name="seAddressPulldown"'); ?>
<?php
I don't know how to do it in PHP ( I only know VB)
Many Thanks For your help
-
Re: New Royal Mail Modules
Can you give me a couple of hours ? I'm just trying to work through the next release, and let me just confirm you want the shipping estimator locked to the UK only, no selects, no changes ? or do you want it locked to the user's primary address ?
-
Re: New Royal Mail Modules
Sure, no problem. I'd like it fixed to the UK
thank you
-
Re: New Royal Mail Modules
okay you are asking something a little tricky because the zen-car code is convoluted as it deals with free shipping options, whether the person is logged on, whether they are a guest. For the guest on zencart 1.3.8 in includes/templates/template_default/templates/tpl_modules_shipping_estimator.php
Code:
<!--
<label class="inputLabel" for="country">ENTRY COUNTRY<?php echo ENTRY_COUNTRY; ?></label>
<?php echo zen_get_country_list('zone_country_id', $selected_country, 'id="country" onchange="update_zone(this.form);"'); ?>
<br class="clearBoth" />
<label class="inputLabel" for="stateZone" id="zoneLabel"><?php echo ENTRY_STATE; ?></label>
<?php echo zen_draw_pull_down_menu('zone_id', zen_prepare_country_zones_pull_down($selected_country), $state_zone_id, 'id="stateZone"');?>
<br class="clearBoth" id="stBreak" />
<label class="inputLabel" for="state" id="stateLabel"><?php echo $state_field_label; ?></label>
<?php echo zen_draw_input_field('state', $selectedState, zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_state', '40') . ' id="state"') .'&
nbsp;<span class="alert" id="stText"> </span>'; ?>
<br class="clearBoth" />
<?php
if(CART_SHIPPING_METHOD_ZIP_REQUIRED == "true"){
?>
<label class="inputLabel"><?php echo ENTRY_POST_CODE; ?></label>
<?php echo zen_draw_input_field('zip_code', $zip_code, 'size="7"'); ?>
<br class="clearBoth" />
<?php
}
?>
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_UPDATE, BUTTON_UPDATE_ALT); ?></div>
-->
works and I would leave it at that, because just commenting that out will set the default country to UK (either because the shipping calculator bases it's default country on store location or define('PULL_DOWN_DEFAULT', 'United Kingdom'); that you mentioned. Then you still have the option of a user changing around delivery addresses.
So that's just adding <!-- and --> in the correct places.
-
Re: New Royal Mail Version 2.3.3
The next version is ready, one thing I forgot to put in the notes, is that in Admin the version of each module is now displayed. Currently available from my website until ZC puts it in their download section.
http://########################.co.uk/versions/b...ail_v2.3.3.zip
version 2.3.3
29/03/2009 :
Major change - all modules when installed are now "disabled" by default. The majority of "shop owners" are installing on live sites and so if they install a module it would appear on a customer's shopping trolley and checkout before the owner had a chance to check the figures or that the handling fees are correct.
New Modules - ukcourier, this is a very basic module for shop owners that want a basic courier module without going to the trouble of setting up zones and placing the Scottish Higlands in a separate pricing zone.
specialdeliverysat - This is BETA CODE, this module will appear to the customer after the post office has shut on a Thursday through to when it closes on a Friday, giving the option of Saturday Special Delivery, but it does rely on the server having the correct time and being in the UK, in the next release this will be corrected.
Module Update - Standard Parcels now has a minimum weight setting. THe royal mail calculates the price in a band from 0 to 2Kg, whereas some shop owners may prefer to send items by 1st Class up to a kilo and then offer standard parcels, this new setting enables this scenario and will be migrated across all modules.
Removals - the sql that removed all the royal mail details from the database adn the sql for when peopl upbraded version that were 2~3 years old has been removed from the optional section after a newbie ran it on his live site by mistake and damaged his installation.
-
Re: New Royal Mail Modules
Very nice but I think the rOYAL MAIL MODULE NEED THE parcelforce ADDONS
MANY PARCEL OF ROYAL MAIL USE PARCELFORCE
-
Re: New Royal Mail Modules
a) the UKZR can handle parcelforce and the splitting of the country into zones for the scottish highlands and has been included in the zip file for 3 years, it can also handle any other courier.
b) shouting a demand is not appreciated.
-
Re: New Royal Mail Modules
Quote:
Originally Posted by
philip_clarke
okay you are asking something a little tricky because the zen-car code is convoluted as it deals with free shipping options, whether the person is logged on, whether they are a guest. For the guest on zencart 1.3.8 in includes/templates/template_default/templates/tpl_modules_shipping_estimator.php
Code:
<!--
<label class="inputLabel" for="country">ENTRY COUNTRY<?php echo ENTRY_COUNTRY; ?></label>
<?php echo zen_get_country_list('zone_country_id', $selected_country, 'id="country" onchange="update_zone(this.form);"'); ?>
<br class="clearBoth" />
<label class="inputLabel" for="stateZone" id="zoneLabel"><?php echo ENTRY_STATE; ?></label>
<?php echo zen_draw_pull_down_menu('zone_id', zen_prepare_country_zones_pull_down($selected_country), $state_zone_id, 'id="stateZone"');?>
<br class="clearBoth" id="stBreak" />
<label class="inputLabel" for="state" id="stateLabel"><?php echo $state_field_label; ?></label>
<?php echo zen_draw_input_field('state', $selectedState, zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_state', '40') . ' id="state"') .'&
nbsp;<span class="alert" id="stText"> </span>'; ?>
<br class="clearBoth" />
<?php
if(CART_SHIPPING_METHOD_ZIP_REQUIRED == "true"){
?>
<label class="inputLabel"><?php echo ENTRY_POST_CODE; ?></label>
<?php echo zen_draw_input_field('zip_code', $zip_code, 'size="7"'); ?>
<br class="clearBoth" />
<?php
}
?>
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_UPDATE, BUTTON_UPDATE_ALT); ?></div>
-->
works and I would leave it at that, because just commenting that out will set the default country to UK (either because the shipping calculator bases it's default country on store location or define('PULL_DOWN_DEFAULT', 'United Kingdom'); that you mentioned. Then you still have the option of a user changing around delivery addresses.
So that's just adding <!-- and --> in the correct places.
Hi Phillip,
I can't get that to work. adding <!-- and --> as shown doesn't show any shipping costs at all. I'm getting confused though maybe, should I be changing:
includes/templates/template_default/templates/tpl_modules_shipping_estimator.php
or
includes/templates/YOUR_OVERRIDE_NAME/templates/tpl_modules_shipping_estimator.php
I have it slecting UK now but the state box is still showing and the post code is too. I also have to refresh the window to make the shipping show up in the shopping cart.
Thank you
-
Re: New Royal Mail Modules
Quote:
Originally Posted by
suekay
Hi Phillip,
I can't get that to work. adding <!-- and --> as shown doesn't show any shipping costs at all. I'm getting confused though maybe, should I be changing:
includes/templates/template_default/templates/tpl_modules_shipping_estimator.php
or
includes/templates/YOUR_OVERRIDE_NAME/templates/tpl_modules_shipping_estimator.php
I have it slecting UK now but the state box is still showing and the post code is too. I also have to refresh the window to make the shipping show up in the shopping cart.
Thank you
Hi Phillip (again)
I have it working now all apart from having to refresh my browser to see the shipping costs. Do you know why that is happening? Once I have refreshed it once then I delete my cart contents and add another product the shipping costs are shown and I don't have to refresh. Iswitched between templates back to classis and it showed up fine, so seems like a problem with Apple zen template.
Thank you
-
Re: New Royal Mail Modules
Quote:
Originally Posted by
suekay
Hi Phillip,
I can't get that to work. adding <!-- and --> as shown doesn't show any shipping costs at all. I'm getting confused though maybe, should I be changing:
includes/templates/template_default/templates/tpl_modules_shipping_estimator.php
or
includes/templates/YOUR_OVERRIDE_NAME/templates/tpl_modules_shipping_estimator.php
I have it slecting UK now but the state box is still showing and the post code is too. I also have to refresh the window to make the shipping show up in the shopping cart.
Thank you
It is a little difficult for me to say as I'm having to use my imagination to guess where you are. The default is
includes/templates/template_default/templates/tpl_modules_shipping_estimator.php
and if changing that results in big mess, then that's the correct page to be changing.
What I suggest is this, just write <h1>HELLO</h1> in the page until you reach just before the bit you want to remove, then write GOODBYE in the page until you get to the end of the section, then surround the hello and goodbye with <!-- and -->. That's pretty much how I located the areas to put the comments.
You are facing some issues with the template though, as the thing changes if you are logged in as a user, or are a guest. As a guest you get presented with the whole postcode, country caboodle but when you are logged in, it calculates things from the delivery addresses saved under that user account, and you really don't want to be removing that as you'll cripple your site.
Actually you could skip the process entirely by just disabling the shipping estimator by going to Admin > configuration > Shipping/ Packaging >Shipping Estimator Display Settings for Shopping Cart and just turning the whole thing off, which might be a better use of your time.
No offence intended but it'd be better to switch it off and get the site running than waste too much time, or produce half garbled output.
Philip.
-
Re: New Royal Mail Modules
Quote:
Originally Posted by
suekay
Hi Phillip (again)
I have it working now all apart from having to refresh my browser to see the shipping costs. Do you know why that is happening? Once I have refreshed it once then I delete my cart contents and add another product the shipping costs are shown and I don't have to refresh. Iswitched between templates back to classis and it showed up fine, so seems like a problem with Apple zen template.
Thank you
If I recall correctly there is some javascript in the original form that reloads the page if the country is switched, off the top of my head, I can't imagine what you are describing as it sounds correct, as you are describing "add a product to the cart and the shipping costs are shown" rather than I do XYZ and then nothing is shown until I do a refresh. (In which case I am 99% sure that it's a session cookie thing where a country is set the first time the page is visited and then reloads with the correct details on the second time when the browser presents the session).
Sorry I seek clarity.
-
Re: New Royal Mail Modules
I'll pm you with my site link and you'll see it happen
Thank you
-
Royal Mail Modules - Road Map
Here is a rough idea of the progression of the modules.
In Standard Parcels we have a new minimum weight limit for the service, this will be migrated across the other modules, the upper weight limit is defined by the Royal Mail rates, and can be modified by removing the prices:higher weights so by having a min weight we can now say first class stops at 2 Kgs, from 2 Kgs upwards use standard parcels.
Tropheus refreshed my memory for an idea to maximise sales abroad. Zen cart is set up to have a max weight limit that is the same across all modules, normally 50 Kgs, any order more than that gets split into boxes. This creates a problem with the royal mail since the airmail services are limited to 2 Kgs, but other services are limited to 6Kgs. The problem occurs if someone wants to process a 3 Kg shopping cart, they would be allowed to buy in the UK but not abroad because of the airmail service stopping at 2Kg. To get around this, one would have to set the zencat weight limit for the entire website to 2Kg's and then ZC would quote for 2 x 1.5 Kilo packages. The issue that then turns up is that the UK based customer ordering a 3Kg parcel also gets their order split down when they could be getting a cheaper overall rate using the 3Kg rate in standard parcels or first class etc...
What has been discussed and tested is that the modules will be fixed to ignore the Zencart maximum shipping weight, if they have a rate in them that is heavier. Then the ZC weight is set to 2Kgs. This will have the effect of splitting down a 3Kg parcel for overseas buyers into 2 boxes but leaving the 3Kg rate for UK services.
This override has to be done for all UK services (approx 18 modules) but should boost international sales as the customers will no longer be limited by shipping options.
Under the hood the structure of the modules is changing. Each module uses constants like MODULE_SHIPPING_RMSTDPARCELS_MINWEIGHT and this will be changing to more complex looking code. The complex looking code will take the module name and put it in the middle of the constant. When this has been entirely migrated it will signify the renaming of the modules to version 3.0. The reason for this complex change is that it makes building more modules simpler. Currently to build a new module one only has to copy across two files to a new filename, BUT then one has to do a global case sensitive serach and replace to change every constant and it's easy to make a mistake, whereas the complex looking code that makes the constants from the module name, means that the new code would only need to have three changes made to one file to build a new module rather than 28~30 changes.
The other advantage of the complex looking code is that if a new function is added like adding a minimum weight instead of taking the code from one module and pasting it to another then having to do a replace on the constants, the constants will be self-creating and so the code will be easier to swap between modules if any more feature requests are made.
When version 3.0 is ready, this thread will close and a new one will be opened because it is far too long for the new users to read through as it dates back 3 years and things have changed quite a bit.
Philip
-
Re: New Royal Mail Version 2.3.3
[QUOTE=philip_clarke;707583]
version 2.3.3
29/03/2009 :
specialdeliverysat - This is BETA CODE, this module will appear to the customer after the post office has shut on a Thursday through to when it closes on a Friday, giving the option of Saturday Special Delivery, but it does rely on the server having the correct time and being in the UK, in the next release this will be corrected.
Thank you very Philip for this change. However I think that you need to let people be able to set their own times if possible.
For example in my case. The post office does shut at 17:30
However the post office will not allow any Special Delivery to be booked in after 17:00 as there is paperwork to be completed by p.o. Post van arrives at 17:05, collects mail and leaves at 17:20
If someone orders a special delivery you need time to wrap and take to post office. Also the clock on my website as in the last few days has become 5 hours behind. Only I think there is a module you can download to adjust the clock, but it wouldnt matter at all if you could set your own start and stop time in your software.
Module Update - Standard Parcels now has a minimum weight setting. THe royal mail calculates the price in a band from 0 to 2Kg, whereas some shop owners may prefer to send items by 1st Class up to a kilo and then offer standard parcels, this new setting enables this scenario and will be migrated across all modules.
Thank you so very much !
:D
-
Re: New Royal Mail Modules
I have just upgraded to version 2.3.3 but for some reason Eurozone48, internationalstandard and internationaldatapost are not being offered as an option during checkout. The zones definition all appear to be correct so i'm stumped why it might not show. I have set all 3 to be active and ensured all weight/pricing is correct. It may be an issue with my zones but i dont understand why this previously worked. I was going to try and remove the complete module and retry installing it but was not sure what needed deleting from the database so if anyone has ny ideas i would be grateful.
PS:Does anybody know of a complete zones sql download that works with this mod?
-
Re: New Royal Mail Modules
After I've had my dinner I shall have a look, knowing which version you upgraded from and which version of ZC you are using would help.
As for the zones SQL they should be in the optional folder, or installed when the module is installed and removed. It's one of the things on a back burner but I could move it forward as long as that idiot Ginetta keeps his/ her mouth shut.
-
Re: New Royal Mail Modules
Hi Phil, Any help would be much appreciated. I've reinstalled a few times and now the international standard is showing but it is showing Spain as Zone 12 but it actually zone 8. Maybe a clue to whats going on? The other 2 arent showing still. If you want to take a look at the site let me know and i'll PM you access.
-
Re: New Royal Mail Modules
Okay, I don't have a probem getting the international standard to show, BUT, everything is being placed into zone 12 which I'll have to fix.
It is probable that the same kind of bug is responsible for international datapost, and eurozone 48 not showing up. What happened was the world fell over in one of the ZC upgrades where it didn't like _ (that's an underline) in the shipping module name, that was fixed but it looks like there has been some knock on effects. I would guess that it will be fixed tonight, the SQL for the correct rates will then be available 24 hours after that if anyone is interested,
I must obviously go now and fix it.
Philip.
-
Re: New Royal Mail Modules
Hi Philip, At least i'm not going totally mad wondering if it was something set up wrong. I'll wait to see if you can sort it before doing anything else. Should the eurozone and datapost standard show up then? There isnt anythin required for it to show other than the customer being located in europe? (If zencart is seeing spain as being located in the rest of the world would that explain why the eurozone48 module is not being offered?)
-
Re: New Royal Mail Modules
Shhh, I'm working.
Yes they should show up and they did a few days ago.
-
Re: New Royal Mail Modules
as a quick fix
http://########################.co.uk/versions/i...alstandard.txt
http://########################.co.uk/versions/i...aldatapost.txt
http://########################.co.uk/versions/eurozone48.txt
These should all be downloaded and renamed .php instead of .txt
Put them in includes/modules/shipping/ replacing the existing files and the system should work without a remove and install.
Note that Eurozone48 obviously disappears when a USA address is used. And International Standard disappears when a French or Spanish address is used. Datapost should be consistent for all country selections.
Philip.
-
Re: New Royal Mail Modules
Philip, You're a genius! I've just uploaded the new files and the 3 options are now appearing when expected. I'm going to do a bit more testing but there will certainly be some beer money donated 2m! Just a quick question about the RM prices update you mentioned previously. Is this chargeable? What exactly is the update?
Cheers again for the quick fix and if any of the 10,000 downloaders are still reading then I think this guy seriously deserves a few donations for the sheer amount of FREE work and more importantly quick support he has put in into this module alone!! Without guys like this we would all still be using a pretty bog standard cr*p version of zen!
-
Re: New Royal Mail Modules
Progress Report.
I have decided that since the Royal Mail sold off ParcelForce, I should also split the modules into Royal Mail and Parcelforce.
Having spent most of last night and this morning going through the parcelforce price list, I've found that Eurozone 48 doesn't really exist and that there are two new modules required "Global Priority" and "Economy". No I'll modify that statement, there are services for account holders where Euro 48 exists and non-account holders who then have a selection of three options (account holders only have two options). Also International Standard used to only be for countries outside of europe as the "non-account" holder could use Eurozone48. So basically I have to create new modules, and mark up the modules for account and non-account holders and big royal mail is now very big with 32 options, so I think it's time to split it since people using the post office don't need the additional complexity or overhead of having the shipping option installed (even if disabled then the the modules still load and say "I'm not installed").
So tonight or tomorrow the modules will be split into ParcelForce and RoyalMail, both are currently functional but the ParcelForce will remove all previous data for the first version due to technical reasons e.g. that up until recently International Standard was not available to Europe so there are NULL values in the database that require stripping out.
I would expect 6 or 7 modules in parcelforce and big royal mail to be reduced by 4 modules.
Thank you
Philip.
-
Re: New Royal Mail Modules
version 2.3.4
06/04/2009
Minor bug fix to Airmail Small Packets, when uninstalled and error was displayed in admin.
Major change in that parcelforce and all courier modules have now been removed and are to be found under ParcelForce shipping modules.
ParcelForce enquires should now be directed at the thread
http://www.zen-cart.com/forum/showthread.php?p=711253
-
Re: New Royal Mail Modules
Hi,
Where is the 2.3.4 release and the shipping rates patch please? I just installed 2.3.3 and it sent me here but I can't see anything. I started updating the rates manually, but the international shipping is fairly epic so would appreciate an sql patch if there is one.
Thanks.
-
Re: New Royal Mail Modules
2.3.4 is currently awaiting review after having been submitted to the zencart team. but I have placed it here for you:
http://########################.co.uk/versions/b...ail_v2.3.4.zip
along with the parcelforce modules are at
http://########################.co.uk/versions/P...rce_v2.3.4.zip
when the zc team put them up here, then I will remove them.
Philip
-
Re: New Royal Mail Modules
Any idea when the rates update will be posted please? I've been using this mod for a while and it's great, thanks Philip for all your hard work.
Retro
-
Re: New Royal Mail Modules
The SQL update is already available for airmail, and uk services.
-
Re: New Royal Mail Modules
Quote:
Originally Posted by
TPHoare
Hi,
Has anyone ever solve the problem of silly counties when using zones. In particular I am thinking of London, Cardiff, Edinburgh etc which if we're lucky comes up as London, London etc.
We've always got away without using zones at all in the past but we now send to the Channel Islands where no VAT causes us problems.
Any ideas for this issue as I have the same problem with London etc, and Channel Isles.
? Question, How do people list the Channel Isles ?
As seperate countries or as 'The Channel Isles' and use counties as Guernsey, Jersey etc
-
Re: New Royal Mail Modules
This question should be moved to the parcelforce thread which has been placed here:
http://www.zen-cart.com/forum/showth...ht=parcelforce
as the "courier" modules have been removed from the big royalmail package.
But as the thread is not yet active (as the zc team have not put up the new packages). What happens when one of the courier / parcel force modules is installed is this:
All the Channel Islands are slotted into a parent Category "Channel Islands", this is then used for the postage calculation. If you install one of the modules like international standard, you'll see in your zone definition "instandard:world zone 5" (it might be 6 or 7) which has the chanel islands as a parent and the islands as children. I do not exactly understand the nature of your particular problem, mentioning london etc, but the modules install the islands themselves.
SCRAP THAT.
the file optional/ukzr_optional_county_install-0.0.1.sql puts all the counties and the islands in the correct place and that is sitting inside the big_royalmail zip at the moment. You upload this in "install SQL patches" and then install the modules that assigns the channel islands to a "world zone".
-
Re: New Royal Mail Modules
I have downloaded 2.3.4 from the link provided 6 April but cannot see the SQL update for new postal rates - am I being really dense???
-
Re: New Royal Mail Modules
If you are then you are not the only one...
-
Re: New Royal Mail Modules
I'll be PM'ing you, shortly.
-
Re: New Royal Mail Modules
Good news the split modules have now been approved so for the Royal mail the download for 2.3.4 is here
http://www.zen-cart.com/index.php?ma...roducts_id=294
for ParcelForce it is here:
http://www.zen-cart.com/index.php?ma...oducts_id=1308
will all ParcelForce and courier enquiries now move to the new thread at:
http://www.zen-cart.com/forum/showth...ht=parcelforce
ParcelForce will be gettting a lot of work done over the next few weeks, with more services added and the existing ones corrected, and I'd like to keep this forum clear for the modifications that will be happening to the Royal Mail code only. We will be having minimum weights added to the other royal mail modules as well as changing the installation slightly so that it doesn't use as many queries to the database.
Thank you
Philip.