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\
Views: 98,542
Totally Zenned
Have posted an update for those changes.
Mark Brittain
http:\innerlightcrystals.co.uk\sales\
Zen Follower
Is this the module i want for integrating with my royal mail online buisness account to make use of 24/48 hr rm?
Totally Zenned
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\
New Zenner
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
Totally Zenned
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\
New Zenner
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
Totally Zenned
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\
Totally Zenned
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\
New Zenner
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!
Totally Zenned
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\
New Zenner
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.
New Zenner
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
Totally Zenned
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\
New Zenner
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
Totally Zenned
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\
New Zenner
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 ....
Store Pickup (Walk In) £0.00
Per Item (Best Way) £0.00
Please can you advise of where we are going wrong ?
New Zenner
Also it says the prices are out of date as of 22nd March 2021 ?
Rates valid until 2021-03-22 00:00:01
Totally Zenned
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.
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\
Totally Zenned
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\
New Zenner
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)
Tell staff why this post should be reviewed.