Forums / Addon Shipping Modules / Big Royal Mail 3.0

Big Royal Mail 3.0

Views: 98,542

Results 281 to 300 of 363
17 Sep 2020, 6:55 AM
#281
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Big Royal Mail 3.0

Have posted an update for those changes.

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

9 Jan 2021, 3:11 PM
#282
flappingfish avatar

flappingfish

Zen Follower

Join Date:
Nov 2020
Posts:
319
Plugin Contributions:
4

Re: Big Royal Mail 3.0

Is this the module i want for integrating with my royal mail online buisness account to make use of 24/48 hr rm?

9 Jan 2021, 5:32 PM
#283
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: Big Royal Mail 3.0

No Sorry. This is for people who use the post office to post their parcels. You could change the descriptions of maybe small parcel and replace first and second class with the appropriate definitions then set the rates to the appropriate weights and values. The routine just calculates the cost of postage based on weight and value.

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

6 Feb 2021, 2:36 PM
#284
cefyn avatar

cefyn

New Zenner

Join Date:
May 2007
Posts:
87
Plugin Contributions:
1

Re: Big Royal Mail 3.0

I'm using 1.5.7b, bootstrap template, and have updated to BigRoyalMail v3.5, and while everything is working ok, I get this in my error logs

PHP Notice: Undefined variable: shipping_method in /includes/modules/shipping/BigRoyalMail/quote.php on line 199
PHP Notice: Undefined variable: shipping_cost in /includes/modules/shipping/BigRoyalMail/quote.php on line 200

Any ideas anyone? Thanks

7 Feb 2021, 6:08 PM
#285
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: Big Royal Mail 3.0

Not 100% certain but it sounds like you have a mis-defined shipping method. If you have updated from a previous version of big royal mail can you check that you have removed the EU shipping methods (instructions in the docs section). If this is a new install can you let me know which royal mail products you have installed and i'll have a look to see if there is a bug.
Regards
Mark

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

8 Feb 2021, 1:14 PM
#286
cefyn avatar

cefyn

New Zenner

Join Date:
May 2007
Posts:
87
Plugin Contributions:
1

Re: Big Royal Mail 3.0

Thanks for your reply and your hard work on this module. Yes, I have removed the outdated shipping methods. When I uninstall all the modules except storepickup and proceed to checkout I get
PHP Notice: Malformed value for session-based shipping module; customer will need to re-select: false in /includes/classes/order.php on line 323, though I can check out.
On installing storepickup and RM 1st small parcel I again get,
[08-Feb-2021 13:07:02 Europe/London] PHP Notice: Undefined variable: shipping_method in /includes/modules/shipping/BigRoyalMail/quote.php on line 199
[08-Feb-2021 13:07:02 Europe/London] PHP Notice: Undefined variable: shipping_cost in /includes/modules/shipping/BigRoyalMail/quote.php on line 200

9 Feb 2021, 1:16 PM
#287
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: Big Royal Mail 3.0

Just done a clean install on 1.5.7b with bigroyal mail and all works fine. Could be something left behind from upgrade.
Before doing any below please ensure you have backed up your database!!.
Are you familiar with PHPMYADMIN. if so could be worth extracting all the royal mail shipping items from the configuration table and exporting them (only necessary if you have made and changes to the default values)

SELECT * FROM configuration WHERE configuration_key LIKE 'MODULES_SHIPPING_RM%';
``` should give you the list of keys for you to export.
Next I would run ```
DELETE  FROM configuration WHERE configuration_key LIKE 'MODULES_SHIPPING_RM%'
``` this should remove all the entries that have been created by big royal mail.
***NB if you use a prefix and are running this in PHPMYADMIN you will need to include the table prefix for the table. so if zen is your prefix configuration becomes zen_configuration

If you do not know phpmyadmin the the delete command will work without the prefix.

then try and ship a product again. if it still does not work then I would suggest it is not big royal mail that is causing the issue.
If it works then try reinstalling one of the modules with Hide Invalid Shipping set to False this should then display the shipping method even if it is not valid for the order. It should also give a reason it is not valid or the rate.
Let me know how this goes.

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

10 Feb 2021, 11:40 AM
#288
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: Big Royal Mail 3.0

cefyn:

Thanks for your reply and your hard work on this module. Yes, I have removed the outdated shipping methods. When I uninstall all the modules except storepickup and proceed to checkout I get
PHP Notice: Malformed value for session-based shipping module; customer will need to re-select: false in /includes/classes/order.php on line 323, though I can check out.
On installing storepickup and RM 1st small parcel I again get,
[08-Feb-2021 13:07:02 Europe/London] PHP Notice: Undefined variable: shipping_method in /includes/modules/shipping/BigRoyalMail/quote.php on line 199
[08-Feb-2021 13:07:02 Europe/London] PHP Notice: Undefined variable: shipping_cost in /includes/modules/shipping/BigRoyalMail/quote.php on line 200

Forget Last message I think I have found it. It appears to be caused when there is no valid shipping method for the item selected. I'll complete my investigation and probally issue a patch. I suspect that you have error reporting set to all which is why it is appearing. Short temp fix would be to modify the quote.php to include

$shipping_method='';
$shipping_cost='';

after line 15 $module = strtoupper($this->code);

Mark

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

10 Feb 2021, 12:21 PM
#289
cefyn avatar

cefyn

New Zenner

Join Date:
May 2007
Posts:
87
Plugin Contributions:
1

Re: Big Royal Mail 3.0

Thanks for taking all this time to look into it, your module is essential for any uk seller and very much appreciated. That fixed it. I did set error reporting to all, I had some problems after upgrading. Can't switch it off now!

11 Feb 2021, 3:07 PM
#290
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: Big Royal Mail 3.0

no problem. I have found a few things that need updating for php8 so I have made a few more changes. Just need to test it all then I will put up a new version.

For error reporting you could look in the code if that is where you put it for error_reporting or possible display_errors these are the php commands that set error reporting and determine if they are displayed on the screen or not. If you change the server settings and you used cpanel then look for PHP selector the choose options and untick display_errors

Zen cart is pretty good at loging errors and warnings in the logs folder.

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

12 Feb 2021, 11:56 AM
#291
cefyn avatar

cefyn

New Zenner

Join Date:
May 2007
Posts:
87
Plugin Contributions:
1

Re: Big Royal Mail 3.0

I hadn't noticed that Configuration/logging/report all errors/ was switched on. BTW the ability to set a minimum shipping method in attributes is brilliant. Thanks again for your add-on.

6 Mar 2021, 3:45 PM
#292
beepud avatar

beepud

New Zenner

Join Date:
Apr 2020
Location:
Scotland
Posts:
29
Plugin Contributions:
0

Re: Big Royal Mail 3.0

Hello,
Can anyone send me a link (or here or pm) with a website thats using this module? I currently use another mod to calculate postage by order value instead of weight, but cannot find an updated version so am hoping this will work instead. Am paying someone to install it during the upgrade so want to make sure it will work as I hope. Thanks N

6 Mar 2021, 8:06 PM
#293
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: Big Royal Mail 3.0

BeePud:

Hello,
Can anyone send me a link (or here or pm) with a website thats using this module? I currently use another mod to calculate postage by order value instead of weight, but cannot find an updated version so am hoping this will work instead. Am paying someone to install it during the upgrade so want to make sure it will work as I hope. Thanks N

You can see it on my website. https://innerlightcrystals.co.uk/sales

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

10 Mar 2021, 9:45 PM
#294
beepud avatar

beepud

New Zenner

Join Date:
Apr 2020
Location:
Scotland
Posts:
29
Plugin Contributions:
0

Re: Big Royal Mail 3.0

That was very helpful - thank you :)

Can I ask if you can set which options appear to customers and also if the delivery prices are from royal mail or do you enter your own?

Cheers

11 Mar 2021, 5:27 PM
#295
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: Big Royal Mail 3.0

Yes you can choose which methods to turn on (all off by default) I have set a handling charge of £1 which ups the default charges by weight. you can set your own rates if you want to. I try to update the rates when i know new ones are coming. But i do not guarantee to do this. The modules are also capable of only allowing certain postage by attributes. if you want more information you should be able to access the doc in https://github.com/brittainmark/BigRoyalMail or download the module and unzip it to read the documentation. Afraid I am a bit of a techy so the docs may not be in the best english.

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

27 Mar 2021, 2:52 PM
#296
mgk avatar

mgk

New Zenner

Join Date:
Jan 2008
Posts:
25
Plugin Contributions:
0

Re: Big Royal Mail 3.0

https://islam786books.com/storenew/index.php?main_page=shopping_cart&product_id=5467
Zen Cart 1.5.7c
Royal Mail Shipping Module v3.5.1


Hi,

If you look at the link of our shopping cart of 4 items, this what the Cart displays:

Total Items: 4 Weight: 2.58kg Amount: £65.72

which results in ....

Available Shipping Methods Rates

Store Pickup (Walk In) £0.00
Per Item (Best Way) £0.00

Please can you advise of where we are going wrong ?

27 Mar 2021, 4:06 PM
#297
mgk avatar

mgk

New Zenner

Join Date:
Jan 2008
Posts:
25
Plugin Contributions:
0

Re: Big Royal Mail 3.0

Also it says the prices are out of date as of 22nd March 2021 ?

Rates valid until 2021-03-22 00:00:01

29 Mar 2021, 10:46 AM
#298
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: Big Royal Mail 3.0

The prices are still valid. Royal mail used to change its prices every Easter. They changed them 1 Jan 2021 but I was not sure if they were going to change them again at Easter so i did not update the valid to date. You can change the date in any module see picture below. When I find out about a price rise I normally change the rates and issue an update.
Attachment 19489
Unfortunately I cannot access the link you gave me so i cannot see what is happing on your site.
Also if you set hide invalid shipping to false (see image above) it will display the shipping with a reason why it is not available.

let me know if you need any more help
Mark

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

29 Mar 2021, 10:59 AM
#299
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
509
Plugin Contributions:
1

Re: Big Royal Mail 3.0

Additionally from your screen shot. The weight is over 2kg so only medium parcel, special delivery and parcelforce options would be available to UK. Only Parcelforce would be available internationally unless you had updated the printer paper options (sql).

Mark Brittain
http:\innerlightcrystals.co.uk\sales\

29 Mar 2021, 11:30 AM
#300
mgk avatar

mgk

New Zenner

Join Date:
Jan 2008
Posts:
25
Plugin Contributions:
0

Re: Big Royal Mail 3.0

Hi Mark,

Many thanks for your response. Have set Hide Invalid Shipping to false, and now can see all the different modules and options available to each buyer.

https://islam786books.com/index.php?main_page=shopping_cart&zenid=04gsln2pr841of2f0uv0arm260 However for 1st/2nd Class Large Letter and other small weight options we get the following message : "The shipping rate cannot be determined at this time"

Royal Mail 2nd Class "Letter" (The shipping rate cannot be determined at this time)
Royal Mail 1st Class "Letter" (The shipping rate cannot be determined at this time)
Royal Mail 2nd Class "Large Letter" (The shipping rate cannot be determined at this time)
Royal Mail 1st Class "Large Letter" (The shipping rate cannot be determined at this time)
Royal Mail 2nd Class "Small Parcel" (The shipping rate cannot be determined at this time)
Royal Mail 1st Class "Small Parcel" (The shipping rate cannot be determined at this time)
Royal Mail 2nd Class "Medium Parcel" (Great Britain and Northern Ireland only) £8.99
Royal Mail 1st Class "Medium Parcel" (Great Britain and Northern Ireland only) £15.85
Royal Mail 1st Class Signed For "Letter" (The shipping rate cannot be determined at this time)
Royal Mail 2nd Class Signed For "Large Letter" (The shipping rate cannot be determined at this time)
Royal Mail 1st Class Signed For "Large Letter" (The shipping rate cannot be determined at this time)
Royal Mail 2nd Class Signed For "Small Parcel" (The shipping rate cannot be determined at this time)
Royal Mail 1st Class Signed For "Small Parcel" (The shipping rate cannot be determined at this time)