Re: New Royal Mail Modules
Togfarther,
gone back on this thread and looks like the guy who offered the SQL patches has left this site.
I am going to look at advshipper anyway as I like the idea of setting up shipping for single items if needed or groups of items with a similar shipping cost / weight
Re: New Royal Mail Modules
OK I found it. :clap:
How to remove warning messages if you have manually updated Royal Mail prices:
The message code is located in 3 files at:
includes/modules/shipping/rmsmsmallpacket.php
includes/modules/shipping/rmamsmallpacket.php
includes/modules/shipping/rm1stlettert.php
The code you need to remove/comment out is:
===========
if(defined('IS_ADMIN_FLAG') && IS_ADMIN_FLAG == true && (int)@constant('MODULE_SHIPPING_RMSM_EXPIRES') <= time()){
$messageStack->add_session('The rates for the Royal Mail Shipping Modules (Airmail & Surface Mail) increased on '.date('jS M Y', (int)@constant('MODULE_SHIPPING_RMSM_EXPIRES')).'. A SQL patch is available to update them.<br /><a href="http://www.zen-cart.com/forum/showthread.php?t=46450" target="_blank">The support thread is here, click on the "<b>Last >></b>" link on the right to get to the most recent post.</a>', 'warning');
}
=========
The wording in each message is slightly different, but they all contain "The rates for the Royal Mail Shipping Modules" if you are searching for the code in the page, and they all start at line 21 in my files.
I hope this helps
Tog
Re: New Royal Mail Modules - remove warning notice
Quote:
Originally Posted by
Togfather
I have manuallly changed the prices for the services I am using (only neded a few changes) so there is no need for me to get an SQL update
The SQL update cost the UK minimum wage so it depended on how much you valued your time, the "out of date" warnings are there for your benefit otherwise you'd be charging incorrect rates if you enabled any of the Royal Mail or ParcelForce module.
Philip.
Re: New Royal Mail Modules - remove warning notice
Yes Phillip you are correct, but it was a lot quicker for me to change half a dozen numbers in the back office (the small cost of an SQL update was not an issue) and we know when the rates change because the post office informs us. This module is working ok for us and there is no need for us to look at advshipper or any other way of pricing our shipping.
Re: New Royal Mail Modules
Hello
Hope someone can help with this question. I'm having a shipping calculation issue with this mod. This is what I currently have in shipping rates (for 1st class packet):
0.1:1.48, 0.25:1.82, 0.5:2.34, 0.75:2.85, 1.0:3.45, 1.25:4.65, 1.5:5.35, 1.75:6.05, 2:6.75, 4.1:8.42, 6.1:12.50
For some reason, anything I add to the cart is calculated at £8.42 for shipping, even if the weight is less. If I remove the '4.1:8.42, 6.1:12.50' part, it calculates the shipping at £0.00.
Can anyone help?
Thanks.
Re: New Royal Mail Modules
Quote:
Originally Posted by
mike1969
*Hide Shipping Weight*
Hi everyone,
I have been using this excellent module for quite some time now but now would like the shipping weight hidden on the 'estimate shipping' and the parts of the checkout where it is show.
Any help would be much appreciated!
I've gone through this thread and couldn't find a clear answer to this question. I'd also like to know how to hide the weight in the shopping cart.
I tried finding the variable name for the standard packet weight unit (Kgs) which is called MODULE_SHIPPING_RM1STPACKET_TEXT_UNITS then looking for other files which contained it (thinking it would be being called just after the instruction to print the weight to the page). No luck, this only appears in the standard packet shipping module, which doesn't contain the weight calling bit.
I'm no expert in PHP, can anyone help with this?
thanks
Re: New Royal Mail Modules
I've managed to work out that the line of code bringing the location and weight info into the shopping cart (eg."Great Britain and Northern Ireland only : 0.360 kg(s)") is around line 112 in
tpl_checkout_shipping_default.php
<label for="ship-<?php echo $quotes[$i]['id'] . '-' . $quotes[$i]['methods'][$j]['id']; ?>" class="checkboxLabel" ><?php echo $quotes[$i]['methods'][$j]['title']; ?></label>
taking any parts of <?php echo $quotes[$i]['methods'][$j]['title']; ?> away breaks the whole line. I need to know where this is coming from and how to pull just the ""Great Britain and Northern Ireland only" part in.
Re: New Royal Mail Modules
Ok folks, ignore that. I missed this post...
http://www.zen-cart.com/forum/showth...ght#post339784
...which was enough to crack it. The code in those lines seems to have changed a little bit since the original message but the idea is basically the same.
thanks forum!
Re: New Royal Mail Modules
Is an updated SQL update available for this plugin?
Re: New Royal Mail Modules
Hi, i think this is a great mod and it suits my needs perfectly all be it with some minor modifications. However i have a slight problem in that I want to choose which postal method is selected by default. At the moments it always defaults to 'rm1stlargeletter.php' as this is my first installed option and I'm presuming its because its alphabetical ordering. Is there a way to change this? i.e. to set 'specialdelivery2500.php' set as the default selected postal option?
Thanks
Tony