Thread for discussion of issues with Big Royal Mail 3.0
Printable View
Thread for discussion of issues with Big Royal Mail 3.0
Guess I'll be the first...
Just noticed this upgrade after turning it off due to Phil's situation and installed the Basic Uk Mail.
So, does this update simply install over the old vertion? AND does it get rid of the errors in the log file as it attempts to verify?
When you say "install over the old version" bear in mind that the files (if named exactly the same) will overwrite the "old" files.
In general, with shipping modules... if you OVERWRITE the files to reinstall the modules you should FIRST copy all the pricing variables that have been inserted by the module into the database.
I usually copy them into notepad, making sure that I label each set of variables so I know which module they apply to. With RM, this can be a detailed process because there are a lot of pricing variables that apply to all the zones.
When you have a COPY of these variables in that notepad file, you REMOVE the module(s). Then you overwrite the php files. Then you INSTALL the modules again.
If the latest RM values are in these new modules, you should not have to "paste in" the sets of price variables - but if you do need to paste them in again, at least you have them all in that notepad file.
Thanks for the wise words schoolboy (a tomorrow project me thinks)
Chuckl's Royal Mail Mod is worth a shot... Just check that his filenames are not the same as Big Royal mail before you FTP them.
We now use Basic RM instead of Big. Chuckl went to a lot of trouble to make the mods compatible with RM's new pricing and insurance structures - and that's a feat worthy of an Olympic Gold, with oak-leaf and bar... RM's principal business objective is to absolutely confuse everyone... (even Stephen Hawking doesn't understand their formulas).
No You have to remove some of the old modules. I wrote a sql patch to upgrade from the previous version and there are instructions on what needs to be removed.
I have not noticed any errors in my log file so I assume that they are no longer present. If you find any please let me know.
I rewrote the module as I like the way it worked and it was getting a bit old.
This module has also bee rewritten with the new pricing options world zone 2. The only think that is does not do is take account of the Letter and large letter size options. Unless you are sure of you package size I would not recommend installing the letter and the package modules on the same site.
Thanks for the mod. Is there a reason that the Royal Mail International Signed For® "Printed Papers" is missing from version 3?
Printed papers are the same as Small packages. The only difference is that you can post up to 5kg. You could change the listings in the in Admin>modules>shipping and add to the end of the last section 2.1:14.42 etc. to allow the additional weights the format is weight:price. The royal mail price for each additional 0.1kg is £0.60 for europe, £1.22 for world zone 1 and £1.28 for world zone 2. The issue is if you are not sending papers then the Limit is 2kg therefore again I would not advise using this unless you intent to only send papers. If you give me a couple of days I will sort out a SQL script to change the airmail to printed paper rates.
That'll be great, thanks :) They send out huge technical books across the world so we've always used printed papers.
I Hope I have attached a zip file with the P&P rates up to 5kg for overseas mailing.
Assuming you have already installed the app. All you need to do is:
1) Backup your database.
2) unzip the file
3) logon to your site
4) go to Admin>Tools>Install SQL Patches
5) Then either
a) Open and copy the contents of PrintedPapers.SQL and paste into the box
or
b) upload the file, PrintedPapers.SQL, to you server and brows to it to open
6) run the sql.
7) Double check the rates!
This will update all the overseas rates to allow up to 5kg to be shipped. It does not change the descriptions that are show on the screen. If you want to do that you will need to modify the PHP language files which are found in YOUR_SITE>includes>languages>english>modules>shipping.
Change the ...TEXT_TITLE in all the modules you use.
to for examplePHP Code:
define('MODULE_SHIPPING_RMAMSMALLPACKETSF_TEXT_TITLE', 'Royal Mail Airmail <span style="color:red; font-weight:bold">International</span> <span style="color: #555555; font-weight:bold">Signed For</span>® <span style="font-weight: normal; font-style: italic">"Small Packet"</span>');
you will need to do this for all the following modules:PHP Code:
define('MODULE_SHIPPING_RMAMSMALLPACKETSF_TEXT_TITLE', 'Royal Mail Airmail <span style="color:red; font-weight:bold">International printed papers</span> <span style="color: #555555; font-weight:bold">Signed For</span>® <span style="font-weight: normal; font-style: italic">"Small Packet"</span>');
rmamassmallpacket.php
rmamassmallpacket500.php
rmamsmallpacket.php
rmamsmallpacketsf.php
rmamsmallpacketsf500.php
rmsmsmallpacket.php
rmsmsmallpacketsf.php
rmsmsmallpacketsf500.php
Hope that helps. I have tested it on my system and it all looks ok. Please double check the rates As I have not been through them all with a fine tooth come.
Have fun :smile:
Excellent, thanks. I'll try this out and let you know if there are any problems.
Is it me, or are some of the images missing from the package... ...notably /images/icons/shipping_rmairsure.gif when going through Step 1 of 3 on checkout?
:)
The Airsure should be pointing to /images/icons/shipping_ukamas.gif
I cannot find any reference to the file you are looking for.
Have you updated your files to the latest version including the language files. OR If so check to see if you have created your own template files in \includes\languages\english\modules\shipping\YOUR_TEMPLATE_NAME this will override the default files in \includes\languages\english\modules\shipping\.
It is working on my system if you want to have a look http://innerlightcrystals.co.uk/sales/
Sorry should have said that the reference to the image file is in \includes\languages\english\modules\shipping\rmamassmallpacket.php.
The line that needs changing would beYou may also need to change rmamassmallpacket500.phpPHP Code:
define('MODULE_SHIPPING_RMAMASSMALLPACKET_ICON','shipping_ukamas.gif');
I'm having problems installing this. I was using a previous version from Philip Clarke.
I am using Zen-Cart 1.3.9h
Having followed the instructions, and deleting some old shipping modules, when I ran 2012Update.sql I got an error "Cannot insert configuration_key "MODULE_SHIPPING_RMAMSMALLPACKET_ZONES_COUNTRIES_2" because it already exists".
We ship worldwide, but when testing I see that non UK orders are not coming up with shipping options.
When I look at Royal Mail Airsure® "Small Packet" ver. 3.0.0 for example only the first few weights under "European Airsure® rates from GB & Northern Ireland" are displayed. Just "0.1:7.7, 0.15:7.93, 0.2:8.16", the other rates for heavier weights are not there. I assume they should be in the other text boxes below, but when I try to add them they are not saved.
It is the same for the ""Rest of World" Zone 1 rates from GB & Northern Ireland" which just shows "0.1:8.3, 0.15:8.86, 0.2:9.42" however the "Rest of World" Zone 2" rates show a complete list of weights and prices up to 2kg.
"International Signed For" is the same, with Europe and World Zone 1 having only the first 3 weights/prices, and the rest black, but World Zone 2 is filled in correctly.
Should it still say "© Bouncing Ltd TA ########################.co.uk" at the top, or have I picked up an old module?
It appears that come entries in the configuration table are not created.
MODULE_SHIPPING_RMAMASSMALLPACKET_ZONES_COST0_1, 0_2 and 0_3 to 5_3 are there but 1_1 to 5-1 and 1-2 to 5-2 are missing.
Similarly for the other international options.
An error carried over from Philip Clarke's days is that the description for AirSure says "Parcel requires a signature". Actually Airsure doesn't require a signature, the barcode is scanned on delivery, but no signature is taken.
Hope this helps.
I have manually added the missing configuration entries and then updated the values with the sql provided and all seems to be working again.
Thanks for this I have also just found out that royal mail are no longer doing additional insurance on standard parcel so I will make the changes and reissue the package probably add a .1 on to the end. If you have any of these you can just tunr them off but I will remove them from the package and put in a script to do a complete removal.
Yes I ran this script but I didn't get all the configuration entries created.
I ended up going into the database and then copying and renaming the corresponding entries, and then running the part of the script that populated them with data.
All seems to be working fine now.
I had been using Philip's old version, hacked to stop it reporting an error when it tried to contact the licence server, however another error popped up over the weekend so I decided to upgrade finally.
Hi there guys, I'm using this big Royal Mail plugin for my new store but I'm having trouble configuring things. I've read around and know there's loads of people having similar problems but there's no fix that I'm happy with so far.
Depending on whats in the cart sometimes 2nd class comes up as displaying "The shipping rate cannot be determined at this time". From what I've read this has to do with Tare but I'd quite like to keep my tare as it is. Also in the admin there's the option to "Hide Invalid Shipping" how come this option doesn't prevent the 2nd class option from appearing when the package is obviously too heavy to get a price on.
Is there anyway to stop the 2nd class non-option from appearing at this point since it also prevents the only other shipping option from being automatically selected.
Just having a look in the code and I guess somewhere in the following might be what needs changing, anyone any ideas:
basically if $shipping ends up being -1 then that error message (The shipping rate cannot be determined at this time) gets added to the shipping quotes. Whereas it would be better for it not to appear as part of the quotes at all!Code:} else {
$shipping = -1;
//12 FEB 04 MBeedell 'glue' together the rates from the 10 cost data entry boxes
$zones_cost = constant('MODULE_SHIPPING_' . $module . '_ZONES_COST0_' . $dest_zone);
$zones_table = preg_split("/[:,]/" , preg_replace('/\s*/','',$zones_cost) );
$size = sizeof($zones_table);
for ($i=0; $i<$size; $i+=2) {
if ($shipping_weight <= $zones_table[$i]) {
$shipping = $zones_table[$i+1];
//12 Feb 04 MBeedell - correctly format the total weight... if the weight exceeds the max
// weight, then it is divided down over a number of separate packages - so the weight could end
// up being a long fraction.
$sw_text = number_format($shipping_weight, 3, $currencies->currencies[DEFAULT_CURRENCY]['decimal_point'], $currencies->currencies[DEFAULT_CURRENCY]['thousands_point']);
//$shipping_method = @constant('MODULE_SHIPPING_' . $module . '_TEXT_WAY') . ' ' . $dest_country . ' : ' . $sw_text . ' ' . constant('MODULE_SHIPPING_' . $module . '_TEXT_UNITS');
//$shipping_method = @constant('MODULE_SHIPPING_' . $module . '_TEXT_WAY') . ' : ' . $sw_text . ' ' . constant('MODULE_SHIPPING_' . $module . '_TEXT_UNITS');
$shipping_method = sprintf(@constant('MODULE_SHIPPING_' . $module . '_TEXT_WAY'),$sw_text);
if ($shipping_num_boxes > 1) {
// PC corrected shipping_num_boxes
$sw_text = number_format($shipping_num_boxes, 0, $currencies->currencies[DEFAULT_CURRENCY]['decimal_point'], $currencies->currencies[DEFAULT_CURRENCY]['thousands_point']);
$shipping_method = $shipping_method . ' in ' . $sw_text . ' boxes ';
}
break;
}
}
if ($shipping == -1) {
$shipping_cost = 0;
$shipping_method = @constant('MODULE_SHIPPING_' . $module . '_UNDEFINED_RATE');
//$shipping_method = $zones_cost; //12 FEB 04 MBeedell useful for debug-print out the rates list!
} else {
$shipping_cost = ($shipping * $shipping_num_boxes) + constant('MODULE_SHIPPING_' . $module . '_ZONES_HANDLING_' . $dest_zone);
}
}
CS,
You are correct in your assumption that that is where the message is generated, but that is actually the inverse of your request. What you should be looking for, is where invalid shipping is hidden, so that you can add your required criteria to the list?
Further up the file you will find this code -
Code:// inspired by Jim Barrington (JollyJim)
if (isset($order) && @constant('MODULE_SHIPPING_' . $module . '_HIDE_SHIPPING_ERRORS') == 'True' ){
switch (isset($order->info['subtotal'])){
case true:
if ($order->info['subtotal'] < @constant('MODULE_SHIPPING_' . $module . '_MIN_ORDERVALUE')){
$this->enabled = false;
return ;
} elseif (@constant('MODULE_SHIPPING_' . $module . '_MAX_ORDERVALUE') != -1 && $order->info['subtotal'] > @constant('MODULE_SHIPPING_' . $module . '_MAX_ORDERVALUE')){
$this->enabled = false;
return ;
}
break;
case false:
if ($order->info['total'] < @constant('MODULE_SHIPPING_' . $module . '_MIN_ORDERVALUE')){
$this->enabled = false;
return ;
} elseif (@constant('MODULE_SHIPPING_' . $module . '_MAX_ORDERVALUE') != -1 && $order->info['total'] > @constant('MODULE_SHIPPING_' . $module . '_MAX_ORDERVALUE')){
$this->enabled = false;
return ;
}
break;
} // end of switch on subtotal
// check that it is a valid country being shipped to.
$dest_country = $order->delivery['country']['iso_code_2'];
$dest_zone = 0;
for ($i=1; $i<=$this->num_zones; $i++) {
$countries_table = constant('MODULE_SHIPPING_' . $module . '_ZONES_COUNTRIES_' . $i);
$country_zones = preg_split("/,/", preg_replace('/\s*/','',$countries_table) );
if (in_array($dest_country, $country_zones)) {
$dest_zone = $i;
break;
}
}
// ship to country is invalid for this service
if ($dest_zone == 0) {
$this->enabled = false;
return ;
} else {
$this->enabled = false; // enabled set to true if valid shipping weight found
$zones_cost = constant('MODULE_SHIPPING_' . $module . '_ZONES_COST0_' . $dest_zone);
$zones_table = preg_split("/[:,]/" , preg_replace('/\s*/','',$zones_cost) );
$size = sizeof($zones_table);
for ($i=0; $i<$size; $i+=2) {
if ($total_weight <= $zones_table[$i]) {
$this->enabled = true;
break;
}
} // end of looping through
return ;
} // end of valid country
} // end of if hide invalid shipping methods is set
which is actually in the initialisation/constructor section, and which checks the subtotal against Min order value, Max order value, and destination country. It does NOT check for a 'valid' weight.
You would need to add a weight check there if you wished to. I'd note that this is possibly NOT trivial, as there does not appear to be a MAX_WEIGHT constant defined, so you would either have to define one, or extract it from the shipping price/weight tables.
Hope that helps a bit.
Rgds,
Chuck
I have found the issue with the update. It appears that some of the older versions of big royal mail may have created additional zones. I have change the update script to update if the insert fails. This is in the release 3.0.1. Also removed insured standard parcel as Royal mail now only insure tracked in the UK which is special delivery.
Hello,
I just updated the Big Royal Mail 3.0 from a previous version from Philip Clarke, and I followed all the indications but this is what I got in the admin area:
I appreciate if someone can help me with this, I don't really know what went wrong.Code:Shipping Modules
ERROR: module not loaded due to missing language file: /home/mysite/includes/languages/english/modules/shipping/rmamassmallpacket500.php
ERROR: module not loaded due to missing language file: /home/mysite/includes/languages/english/modules/shipping/rmamisfsmallpacket.php
ERROR: module not loaded due to missing language file: /home/mysite/includes/languages/english/modules/shipping/rmamisfsmallpacket500.php
ERROR: module not loaded due to missing language file: /home/mysite/includes/languages/english/modules/shipping/rmsmsmallpacket.php
ERROR: module not loaded due to missing language file: /home/mysite/includes/languages/english/modules/shipping/rmsmsmallpacketisf.php
ERROR: module not loaded due to missing language file: /home/mysite/includes/languages/english/modules/shipping/rmstdparcels100.php
ERROR: module not loaded due to missing language file: /home/mysite/includes/languages/english/modules/shipping/rmstdparcels250.php
ERROR: module not loaded due to missing language file: /home/mysite/includes/languages/english/modules/shipping/rmstdparcels500.php
ERROR: module not loaded due to missing language file: /home/mysite/includes/languages/english/modules/shipping/specialdelivery.php
ERROR: module not loaded due to missing language file: /home/mysite/includes/languages/english/modules/shipping/specialdelivery1000.php
ERROR: module not loaded due to missing language file: /home/mysite/includes/languages/english/modules/shipping/specialdelivery2500.php
ERROR: module not loaded due to missing language file: /home/mysite/includes/languages/english/modules/shipping/specialdelivery9am.php
ERROR: module not loaded due to missing language file: /home/mysite/includes/languages/english/modules/shipping/specialdelivery9am1000.php
ERROR: module not loaded due to missing language file: /home/mysite/includes/languages/english/modules/shipping/specialdelivery9am2500.php
ERROR: module not loaded due to missing language file: /home/mysite/includes/languages/english/modules/shipping/specialdeliverysat.php
Modules Sort Order Action
ParcelForce® globaleconomy ver. 3.03 economy
ParcelForce® Europriority Residential Addresses Account Holders ver. 3.03 europriorityhome
ParcelForce® Europriority Business addresses Account Holders ver. 3.03 eurozone48
Flat Rate flat 0
Free Shipping Options - Digital Products Only freeoptions
FREE SHIPPING! freeshipper
ParcelForce® globalpriority ver. 3.03 globalpriority
ParcelForce® globalvalue ver. 3.03 globalvalue
ParcelForce® globalexpress ver. 3.03 internationaldatapost
ParcelForce® globalexpress Account Holders ver. 3.03 internationaldatapostacc
ParcelForce® globalpriority Account Holders ver. 3.03 internationalscheduled
ParcelForce® globalvalue Account Holders ver. 3.03 internationalstandard
Parcelforce® Irelandexpress ver. 3.03 ireland24 155
Per Item item
Per Unit perweightunit
Royal Mail 1st Class "Large Letter" ver. 3.02 rm1stlargeletter
Royal Mail 1st Class Recorded Signed ForTM "Large Letter" ver. 3.02 rm1stlargelettersf
Royal Mail 1st Class "Letter" ver. 3.02 rm1stletter
Royal Mail 1st Class Recorded Signed ForTM "Letter" ver. 3.02 rm1stlettersf
Royal Mail 1st Class "Packet" ver. 3.02 rm1stpacket 60
Royal Mail 1st Class Recorded Signed ForTM "Packet" ver. 3.02 rm1stpacketsf
Royal Mail 2nd Class "Large Letter" ver. 3.02 rm2ndlargeletter
Royal Mail 2nd Class Recorded Signed ForTM "Large Letter" ver. 3.02 rm2ndlargelettersf
Royal Mail 2nd Class "Letter" ver. 3.02 rm2ndletter
Royal Mail 2nd Class Recorded Signed ForTM "Letter" ver. 3.02 rm2ndlettersf
Royal Mail 2nd Class "Packet" ver. 3.02 rm2ndpacket 50
Royal Mail 2nd Class Recorded Signed ForTM "Packet" ver. 3.02 rm2ndpacketsf
Royal Mail Airsure® "Small Packet" ver. 3.02 rmamassmallpacket 320
Royal Mail Airmail "Small Packet" ver. 3.02 rmamsmallpacket 310
Royal Mail Standard Parcels ver. 3.02 rmstdparcels 70
Store Pickup storepickup
Table Rate table
UK Courier ver. 3.03 ukcourier
United Kingdom Zone Rates for Couriers. ver. 3.03 ukzr
United Parcel Service ups
United States Postal Service usps
Module Directory: /home/mysite/includes/modules/shipping/
ParcelForce® globaleconomy ver. 3.03
ParcelForce® globaleconomy Rates. Weights in kg. Example data only (from 2007) see here for details of automatic SQ
Thanks
Looks like the old renamed modules have not been deleted and some of language modules have not been copied over
1) delete the following file from /home/mysite/includes/modules/shipping/ :
rmamisfsmallpacket.php
rmamisfsmallpacket500.php
rmsmsmallpacketisf.php
rmstdparcels100.php
rmstdparcels250.php
rmstdparcels500.php
specialdelivery.php
specialdelivery1000.php
specialdelivery2500.php
specialdelivery9am.php
specialdelivery9am1000.php
specialdelivery9am2500.php
specialdeliverysat.php
2) copy the language files from BigRoyalMail_V3.0.1.zip/includes/languages/english/modules/shipping/ to/home/mysite/includes/languages/english/modules/shipping/ :
rmamassmallpacket500.php
rmsmsmallpacket.php
that should do the trick. Let me know if it you get any more error messages and I'll have another look.
Thank you Mark,
I'm going to do that now, I was checking if I had any reply to my question and there we are.
Thank you Mark for your help everything is fine now.
I have one more request to make though, I hope you or somebody else, can help me with that; as I said before I upgraded from a previous module of Philip Clarke and on the upper part of the admin side there is this notice that I'd like to get rid of:
Attachment 11661
I managed to remove the page linked to it but I can figure out how to remove this bit of piece.
I meant I can't figure out how to remove it
I am just installing this module, Looks good.
My customer has products of different sizes and needs Product "A" to be "small packet" Product "B" to be "large letter" and Product "C" to be "packet"
How do I achieve this?
Thanks
Using Zencart 1.5.1
Just a statement.
Had trouble with RMAMsmallpacket, current version. "Shipping Rate can not be determined".
I found a very old thread that mentioned changing the tare's.
After setting the tare to 0:0 this did the trick - it now works. (admin / Config / Shipping).
Thought I just mention it if anyone else having trouble.
Not concerned about the tare's. So happy with that.
Attachment 12035Attachment 12036Hi I have set up a cart with Royal Mail 1st Class Recorded Signed For "Letter" ver. 3.0.0 and Royal Mail Airmail International Signed For® "Small Packet" ver. 3.0.0
When I go through to shipping information in the shopping cart for the UK or Northern Ireland I get the options for these two shipping methods with a price for UK and Northern Ireland when only Royal Mail 1st Class Recorded Signed For "Letter" ver. 3.0.0 should be showing.
Also when I go through from a different country I get both options but without a price for either.
Obviously Royal Mail 1st Class Recorded Signed For should only show for UK and Northern Ireland and Royal Mail Airmail International Signed For® "Small Packet" should only show for any other country.
How do I resolve this?
Thanks
Nick
Just posting screenshots to the above post as they didn't upload correctly on my original post.
Attachment 12038Attachment 12037
As with the earlier post you need to set hide invalid shipping to true.
Admin>Modules>shipping> select the shipping method the click the edit button the look for Hide Invalid Shipping
Hide this shipping service if it is not valid (either due to exceeding the maximum weight or the min & max order values).
and change the radio button to true.
Heads up!
Royal Mail are making big changes to their Packets and Parcels on 2nd April 2013.
Compensation rates are being more than halved for standard mail, from £46 to £20.
Standard Parcels are being abolished, replaced by 2nd class mail and 2nd class recorded up to 20kg.
Parcels will become "small" and "medium" parcels. larger parcels will have to go via Parcelforce.
"small" means less than 2kg AND smaller than 16cm x 16cm x 16cm OR smaller than 45cm x 35cm x 8cm OR a tube smaller than 45cm long x 8cm wide.
"Medium" means less than 20Kg and smaller than 61 x 46 x 46cm
http://www.royalmail.com/prices-2013...H_tariff_Mar13
http://www.royalmail.com/parcels-made-easy
Devus - Don't think Zencart can cope with sizes but assume we will do it by weight. Typically you may know what your items are likely to be, and amend the rates accordingly.
Thanks for the heads up I'll get working on a rate update and see if i need any other bits changing. I'll submit the new update as soon as I have it completed.
I have updated the program now version 3.1.0 for the new rates and the new small and medium parcels. Do not install until you are ready to use the new rates. They come in to effect 2 April 2013
Bump
Time running out
I have just installed from the plugins section the BRM latest version and it is 2012
Can someone tell me where the 2013 patch is please
Willing to pay $$$
Donations always welcome. I have uploaded to the site it is waiting moderation.
Just noted Typo in Upgrade script.
item C in upgrade from 3.0.x should read
c)Run UpdateFrom3.0.sql to remove the entries from the configuration file.
1) Login to your zen cart admin
2) Use Tools>Install SQL Patches
3) Copy the contents of UpdateFrom3.0.sql and paste into the text window
or
User the Browse button to load UpdateFrom3.0.sql into zen cart.
The weights for 2nd class medium parcel seeem to only go to 2kg as the small parcel settings
Sorry about that thats what happens when you rush things because you cannot get the info out of royal mail.
Apply the SQL patch below to correct the ratesPHP Code:
/* Second Class Medium Parcel */
UPDATE configuration SET configuration_value = '1:5.2, 2:8, 5:13.35, 10:19.65, 20:27.70' WHERE configuration_key = 'MODULE_SHIPPING_RM2NDMEDPARCEL_ZONES_COST0_1' ;
/* Second Class Medium Parcel Confirmed */
UPDATE configuration SET configuration_value = '1:6.3, 2:9.1, 5:14.45, 10:20.75, 20.28.80' WHERE configuration_key = 'MODULE_SHIPPING_RM2NDMEDPARCELSF_ZONES_COST0_1' ;
is there any where else we can download this from? Really need to get this update done and it's still not in the plugins section and don't want to have to wait for days for someone to approve it which people are paying the wrong amounts for postage in my shop.
Hi
Not sure if I've done something wrong in the setup but when I have an item set to minimum weight (small package) where it should be showing £3 shipping it also shows medium package pricing as well?
Any help would be appreciated.
I've just installed the latest version for the latest postage rates, and everything is working great except for 'Royal Mail Airmail "Small Parcel" ver. 3.1.0'. European rates are fine on this, but Rest Of World doesn't appear to work when I test it. I noticed that there is no box to define countries for ROW like there is for Europe, is this to do with it?
Apologies if I've missed a patch or I'm just being stupid, but any advice would be great, thanks!
Installed this today, still getting used to the new formats but a big thanks for updating it.
I did notice that the Post Office are not calling it "Confirmed", it is still called "Signed For". I think the "confirmed" term is only used on the website to try to make us think its simple and better. (its not really).
So to reduce customer confusion I am going to change it back to "Signed For"
I am going by the new barcode labels which say Signed For. It is the Royal Mail who aren't being clear here.
Also I have changed all "Small Parcel" to "Small Packet" for international items as "Small Parcel" is a size and there is no "Medium Parcel" for International. "Small Packet" can be quite large as long as it doesn't include personal correspondence.
Previously we shipped some large-ish packages internationally by Royal Mail and seldom had to use ParcelForce but it looks like we are going to somehow figure that into our shipping rates too.
If you use the template overrides system and place the modified versions in YOUR_SHOPPING_CART_DIRECTORY/includes/languages/english/modules/shipping/YOUR_TEMPLATE then they will not be overwritten if I update the source again. I'll keep an eye on Royal mail and may change it back later if it looks like it is staying as signed for.
it may be me who is confused here. The labels definitely say "Signed For" on them. Some of the counter staff are calling International packages "small packets" and others "small parcels".
We really need a similar ParcelForce module now, to cover the items that were previously sent by Royal Mail but are now too large or too heavy
If I get some time I'll look at adding them. As for the naming It looks like the counter staff and the royal mail have different names. On the web site is starts as delivery conformation then becomes Signed for on the second screen. If I do add the parcel force I will change it back to signed for.:wacko:
How do I handle having items of the same weight that need small or medium packaging based on quantity or item size?
I want to do this without giving customers both options to pick from since they will always pick the cheaper option.
I too am eagerly awaiting a resolve to this one.... It's a nightmare!
As medium is based on size and there is currently no way of determining size and the complexity or trying to put items together to fit into a size I would suggest that you turn off small parcel. The only other alternative would be to add a flag into the database and then modify the mail code. I have not looked at this. to do it properly is a major rewrite and requires additional attributes fro the products.
Yes postage by size is an issue and a major pain. :(
Really appreciate the help on that issue. Frustrating indeed!
I have just updated to the new version Big Royal Mail - Version: 3.1.0b. I followed the docs guide, and it seems that I did something wrong. In the admin area the shipping module is blank and from the debug files this is what I got:
andPHP Code:
[09-May-2013 12:33:30] PHP Parse error: syntax error, unexpected T_STRING in /public_html/includes/languages/english/modules/shipping/economy.php on line 18
I don't know what to do, could someone give me a hand. Many thanks in advancePHP Code:
[09-May-2013 12:36:00] PHP Warning: include_once(includes/modules/shipping/rm2ndpacket.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /public_html/includes/classes/shipping.php on line 58
[09-May-2013 12:36:00] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'includes/modules/shipping/rm2ndpacket.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /public_html/includes/classes/shipping.php on line 58
[09-May-2013 12:36:00] PHP Fatal error: Class 'rm2ndpacket' not found in /public_html/includes/classes/shipping.php on line 59
As for the parse error I found this tutorial:
http://www.zen-cart.com/content.php?...8or-similar%29
I tried to find out the backslash but I could not see anything.
And for the warning and fatal error I don't know where to turn.
Any help would be really appreciated.
Many thanks
Hello,
I've still the same situation, blank page in the shipping module in the admin area; therefore blank in the estimate shipping in the website, and also completely blank in the checkout page, if you try to buy anything.
But after having uploaded the includes folder again I only get one error (instead of several as previously happened) in the cache log, this one:
I really appreciate in anyone can help me with this, it's been three days now with this problem and I'm a bit concerned.Code:[12-May-2013 06:36:55] PHP Parse error: syntax error, unexpected T_STRING in /includes/languages/english/modules/shipping/economy.php on line 18
Many thanks in advance
Is there any possibility to have some help with this problem. It's been 4 days now and still I'm unable to see how to solve this.
I get this error:
And on line 18 I cannot see anything wrong. This is the whole file:Code:PHP Parse error: syntax error, unexpected T_STRING in /home/argos33/public_html/includes/languages/english/modules/shipping/economy.php on line 18
If there is anything wrong I cannot see it. If somebody can help me I would very grateful.Code:<?php
/*
ParcelForce version 3.0, released under GPL v2.0
see CREDITS.txt for the contributors and support forum.
*/
define('MODULE_SHIPPING_ECONOMY_TEXT_TITLE', '<strong>ParcelForce</strong>® global<strong>economy</strong>');
define('MODULE_SHIPPING_ECONOMY_TEXT_UNITS', 'kg(s)');
if(!defined('MODULE_SHIPPING_ECONOMY_TEXT_DESCRIPTION')){
define('MODULE_SHIPPING_ECONOMY_TEXT_DESCRIPTION', MODULE_SHIPPING_ECONOMY_TEXT_TITLE.';
}
for($define_tables=4; $define_tables<=9; $define_tables++){
if(!defined('MODULE_SHIPPING_ECONOMY_GEOZONE_'.$define_tables.'_TABLE_1')){
define('MODULE_SHIPPING_ECONOMY_GEOZONE_'.$define_tables.'_TABLE_1', NULL);
}
}
// define('MODULE_SHIPPING_ECONOMY_GEOZONE_4_TABLE_1', NULL);
// define('MODULE_SHIPPING_ECONOMY_GEOZONE_5_TABLE_1', NULL);
// define('MODULE_SHIPPING_ECONOMY_GEOZONE_6_TABLE_1', NULL);
// define('MODULE_SHIPPING_ECONOMY_GEOZONE_7_TABLE_1', NULL);
// define('MODULE_SHIPPING_ECONOMY_GEOZONE_8_TABLE_1', NULL);
// define('MODULE_SHIPPING_ECONOMY_GEOZONE_9_TABLE_1', NULL);
define('MODULE_SHIPPING_ECONOMY_GEOZONE_10_TEXT_TITLE', MODULE_SHIPPING_ECONOMY_TEXT_TITLE);
define('MODULE_SHIPPING_ECONOMY_GEOZONE_10_ICON', 'shipping_parcelforce.gif');
define('MODULE_SHIPPING_ECONOMY_GEOZONE_10_TABLE_1_TEXT_WAY', 'World Zone 10');
define('MODULE_SHIPPING_ECONOMY_GEOZONE_10_MODE', 'weight');
define('MODULE_SHIPPING_ECONOMY_GEOZONE_11_TEXT_TITLE', MODULE_SHIPPING_ECONOMY_TEXT_TITLE);
define('MODULE_SHIPPING_ECONOMY_GEOZONE_11_ICON', 'shipping_parcelforce.gif');
define('MODULE_SHIPPING_ECONOMY_GEOZONE_11_TABLE_1_TEXT_WAY', 'World Zone 11');
define('MODULE_SHIPPING_ECONOMY_GEOZONE_11_MODE', 'weight');
define('MODULE_SHIPPING_ECONOMY_GEOZONE_12_TEXT_TITLE', MODULE_SHIPPING_ECONOMY_TEXT_TITLE);
define('MODULE_SHIPPING_ECONOMY_GEOZONE_12_ICON', 'shipping_parcelforce.gif');
define('MODULE_SHIPPING_ECONOMY_GEOZONE_12_TABLE_1_TEXT_WAY', 'World Zone 12');
define('MODULE_SHIPPING_ECONOMY_GEOZONE_12_MODE', 'weight');
define('MODULE_SHIPPING_ECONOMY_TEXT_UNDERMINTOTAL', MODULE_SHIPPING_ECONOMY_TEXT_TITLE.' is only available for orders over £');
define('MODULE_SHIPPING_ECONOMY_TEXT_OVERMAXTOTAL', MODULE_SHIPPING_ECONOMY_TEXT_TITLE.' is only available for orders under £');
My sincere apologies if I'm a bit of a pain. But I'm really stuck and as I said in my previous posts I don't see how to sort this problem out .
I run the uninstall all SQL, installed the module again, and I have the same problem:
Is it possible that there is no solution to this? I cannot believe it, there must be some way to sort this out.Code:[13-May-2013 09:53:33] PHP Parse error: syntax error, unexpected T_STRING in /home/argos33/public_html/includes/languages/english/modules/shipping/economy.php on line 18
This line looks incorrect:
Try using:Code:define('MODULE_SHIPPING_ECONOMY_TEXT_DESCRIPTION', MODULE_SHIPPING_ECONOMY_TEXT_TITLE.';
Code:define('MODULE_SHIPPING_ECONOMY_TEXT_DESCRIPTION', MODULE_SHIPPING_ECONOMY_TEXT_TITLE.');
Many thanks Ajeh for your reply. I did what you suggested and still the same error:
I've been trying for the past three quarters of an hour to see if small changes around these lines would solve the problem but to no avail.Code:[13-May-2013 12:04:03] PHP Parse error: syntax error, unexpected T_STRING in /home/argos33/public_html/includes/languages/english/modules/shipping/economy.php on line 18
The thing is that this file was already in the pack previously to the updating and there was no problem with it. And now this, it's a bit puzzling.
I goobered ... :blush:
You have:
So you are appear to be trying to define the MODULE_SHIPPING_ECONOMY_TEXT_DESCRIPTION as MODULE_SHIPPING_ECONOMY_TEXT_TITLE but for that you need to use:Code:define('MODULE_SHIPPING_ECONOMY_TEXT_DESCRIPTION', MODULE_SHIPPING_ECONOMY_TEXT_TITLE.';
by removing the .'Code:define('MODULE_SHIPPING_ECONOMY_TEXT_DESCRIPTION', MODULE_SHIPPING_ECONOMY_TEXT_TITLE);
Otherwise, if you want to define that as some other text you would use:
Code:define('MODULE_SHIPPING_ECONOMY_TEXT_DESCRIPTION', 'Your text here');
Ajeh! It worked like a charm! Everything is fine now.
I had to go through 13 files that presented the same problem. But I have no more errors now. I'm still puzzled why in the past worked with those errors, but anyway, after these last three days everything is alright now.
Thank you very much.
Thanks for the update that this is now working correctly for you ...
There , looks like you might have two problems. Firstly you have a module that is not part of royal mail economy.php assuming you do not use this you need to delete it from /public_html/includes/languages/english/modules/shipping/economy.php
The second issue rm2ndpacket.php should have been deleted from /public_html/includes/languages/english/modules/shipping/ and /public_html/includes/modules/shipping/ this has been replaced with small and medium parcel. Also you should have deleted rm1stpacket.php and the Sql script UpdateFrom3.0.sql run to remove the entries from the database.
I have had an idea. How does this sound. I need to change the code but If i assign read only attributes of Medium Parcel to the items that need to go medium parcel this could be used to stop small parcel being used. This will work for single items or if any item in a package was marked with this attribute then the whole packet would be sent medium parcel. What it would not do is take in to account lots of small items making a parcel too big to send as medium parcel. It will take me a few weeks to sort this out but if this sound like a goer I'll give it a go! What do you think?
I could really do with some URGENT help here....
I used to used the BRM and added the Parcel Force mod when Phill was around. Now my hosting company has moved me to new servers and attemptin to login to Admin I get the following error (no admin page)
"ParcelForce data modules corrupted."
It is still trying to validate the old license.... I have removed all files as mirrored in the download file but still get this.
Does anyone have any suggestions?
REALLY desperate... I have not been able to login to Admin all day and have much work to do tomorrow.
Knackered.... big style
Thanks
Host peeps sorted for me....
Relax ;))
My apologies if I'm making a rookie error but I have done a fresh install of the module on V1.3.9 and although the install went fine the shipping method isn't showing at all. I have installed both the 1st class medium parcel mods and modified the weights and pricing. I have checked that my cart doesn't exceed the maximum value.
I currently have the Zone rates working fine, could this conflict?
As this is a fresh install I haven't run any scripts.
Any ideas?
No response offered to my post, can anyone help please?
I have not tested this with the zone rates. Is there a place I can view your site to see if I can see what is going on. Sorry for the delay I have been away.
Also when you say you have done a fresh install did you do it to a clean database. In other words was it a full clean install from zen cart up. or did an old version of Big royal mail exist on the site before?
Is there an easy way to just remove the images? I don't feel that they are necessary.
Thanks :)
Yes it should be as easy as removing the "define('MODULE_SHIPPING_??????_ICON','@@@@'); (Where ?????? is the module name and @@@@ is the name of the icon) line from the definitions file. However it has shown me a bug which I have now fixed and resubmitted. So download version 3.1.1 and update your modules. Then to do it properly using the overwrite method
1)Create a folder in the YOUR_SHOPPING_CART_DIRECTORY/includes/languages/english/modules/shipping/YOUR_THEME with the name of your theme. 2)Copy all the template files for the modules you use from the YOUR_SHOPPING_CART_DIRECTORY/includes/languages/english/modules/shipping/ into this folder
3)Remove the define statement for the icon.
if you do not use the overwrite method then
1) Remove the define statement for the icon from the template files you use.
NB if you do a full update later it will overwrite these files and you will need to re-edit them.
hi
i have just installed this plug in and its great but i have a question
the "large letter" bit can it be deleted so it just reads royal mail first class as i have many different size items and just need it to say royal mail first class
thanks
Yes it should be as easy as changing the "define('MODULE_SHIPPING_??????_TEXT_TITLE', @@@@');; (Where ?????? is the module name and @@@@ is the title displayed on the site) line in the definitions file.
The correct way top do this is:
1)Create a folder in the YOUR_SHOPPING_CART_DIRECTORY/includes/languages/english/modules/shipping/YOUR_THEME with the name of your theme. 2)Copy the template files for the modules you use from the YOUR_SHOPPING_CART_DIRECTORY/includes/languages/english/modules/shipping/ into this folder
3)Change the define statement for the icon.
if you do not use the overwrite method then
1) Change the define statement for the icon from the template files you use.
NB: if you do a full update later it will overwrite these files and you will need to re-edit them.
NB2: if you use multiple modules with the same description. ie first class letter and first class large letter and both are applicable shipping it will look confusing to your customers who will see the same description twice with different prices.
OK thanks
Just a question or if you want to update the mod is there a way to set the min and maximum weight for each shipping class.
This would help me a lot if I could set min and max weight for each
Something like the basic UK mail plug in has
Any help
Thanks
I
The shipping weights are set in Admin>Modules>shipping> Each module has a series of rates and weights in the "Shipping rates to GB & Northern Ireland" etc. The format is Weight:Price. These are set to the shipping weights and costs for the appropriate mail. For example First class small parcel is set to 1:3, 2:6.85 which is up to 1Kg costs £3 between 1 and 2kg costs 6.85 it will not allow shipping weights of more that 2kg that is the maximum. There is no minimum for each group. if you are shipping purely by weight you might consider the built in per unit rate that come with zen cart.
hi m8
thanks for the reply
yes i know the settings are in the shipping mod in admin but thats not my problem.
let me see if i can explain
here goes
i sell lots of items all different weights sizes etc
so lets say i sell 1 meter aquatic airline this weight is 0.010 kgs and will go large letter
now i have a parcel that also weighs 0.010kgs but will not fit in a large letter size so will have to go small parcel but when the customer goes to check out for the larger item both large letter and small parcels will show as they both weigh the same but one is bigger than the other
so the customer has the choice large letter or small parcel which large letter will be no good as its too big and if the customer chose large letter which a lot will i will be out of pocket as the large letter is cheaper to post that the small parcel
Do you get what i mean .
thanks
Understand! I did start looking at this but there did not seem to be any interest. I was thinking of using attributes to limit the postage that could be used. so that you could set an attribute on a product that would say that the minimum postage size was e.g. large letter. It would not take into account multiple items in a packet so you could still end up with the wrong postage. I could give it some thought again and see if i can get it working.
hi m8
if i knew how to do a mod i would try so i cannot
sounds good what you said but i was thinking of
lets say set min max weights so large letter you could set start weight at 0 and max to 0.750 which is the weights for large letters
now small parcels min weight min 1000kgs max 30000kgs now hopeful this would work in the pricing 1000kg is relay the code for 1kg weight so in the shipping price you would put 1000:2.60 as 1kg would cost £2.60 small parcels 2000kgs is relay the code for up to 2kg and would cost £5.60 small parcels so in pricing you would have 1000:2.60,2000:5.60 so on so on to 30000kgs which would = 30kgs.
only you would know the 1000 is only a code for 1kg as you turn off the showing of all weights to the customer.
The large letter would not show as it is set to max of 0.750kg and if you have an item that will go large letter lets say 0.10 then small parcel would not show as it is set to 1000kg min and you would set the hide shipping setting in the shipping mod
hope you get what i mean lol ?
also i have the airmail mod set and is working great only thing is its showing the weight in the estimated shipping in shopping cart and i cannot figure out how to get it to not show any ideas?
bump
dont know if you have read this yet brittainmark ?
yes you could do that. Try setting ADMIN>Configuration>Shipping/Packaging>Display Number of Boxes and Weight Status to 0 "off" to remove the weight. There are probably other places where you need to set the weight display to off under ADMIN>configuration
You will also need to change the ADMIN>Configuration>Shipping/Packaging>Enter the Maximum Package Weight you will ship to 30000
it might mean that you under charge when you have a large and a small item or a large item and lots of small items.
As the code is currently it would display the all the available shipping methods. You could just choose one method say First class and set up all the bands .75:90,1:1.20,...,1000:2.60,2000:5.50 etc. then change the descriptions for that method in language files e.g if you chose to use the first class large letter then change:
define('MODULE_SHIPPING_RM1STLARGELETTER_TEXT_TITLE', 'Royal Mail 1<sup>st</sup> Class );
you could do this for all the methods you want to use. but stick to one for each of First and second class mail. You would then have to add in the additional rates for all the other methods you are using, special delivery, air mail etc.
By the way Bumping does not work as I only receive one e-mail from your first post. I will receive no more until I visit the forum again.
the weights are turned off as you have said and the uk options no weight is displaid only on the airmail ones ?
thanks
I have now completely rewritten Big royal mail version 3.2.0
I have included the insurance as standard in each application and added the parcel force postage methods to the pack.
I have also included a method of using attributes to exclude certain shipping methods. Table below show methods excluded for each attribute
Attachment 13392