Re: New Royal Mail Modules
Thanks, will try it. Also, l I don't know why but now none of my https pages (customer login, checkout etc) are working. I had made a few changes to the shipping_estimator.php file, but I have reuploaded the original one, so any changes should be overwritten.
I can't login as the admin page is https, and customers can't login either.
I have an ssl certificate from comodo.
Re: New Royal Mail Modules
Changed the tare things, but it made no difference.
https pages are working, so that's good.
Re: New Royal Mail Modules
Good to hear that you have the entropy back under control!
Time to check the overall setup then. Under Locations/Taxes-Zone definitions do you have a United Kingdom Zone defined, showing as a fodler symbol, and when you open that folder, does it show as all zones, whith a dropdown list of counties?
Under Configuration-Shipping Packaging is the store Country set to United Kingdom, and does it have a store zone and postcode defined?
Re: New Royal Mail Modules
Zone name:
UKZR: Zone 1 Mainland UK
Zone Description
All other UK counties
it has a yellow light next to it (Zones Defined but not Taxes )
Under "edit zone" it has:
Zone Name: UKZR: Zone 1 Mainland UK
Description: All other UK counties
It has a dropdown list of counties, but some are duplicates, like Arran (Island of) appears 4 times, and most things appear twice.
I don't have the postcode for the shop, but even when I have added it, nothing changed. I can't see an option for store zone to be defined.
In my tpl_modules_shipping_estimator.php there is this code:
<td colspan="2" class="rowOdd" style="text-align: center"><?php echo TITLE_NO_SHIPPING_AVAILABLE; ?>
<div class="important"><?php echo str_replace('__COUNTRY__', (isset($order->delivery['country']['title']) ? ' to '. $order->delivery['country']['title'] : ''), ILABTEXT_NO_SHIPPING_AVALE ); ?>
</td>
Those are the exact same words that display when a quantity of 4 is chosen:
TITLE_NO_SHIPPING_AVAILABLE
TEXT_NO_SHIPPING_AVAILABLE
Is this file the problem?
Many thanks for your help.
Re: New Royal Mail Modules
Zen Cart usually whinges mightily if you don't have a postcode defined (not that it does anything as far as I can see).
Shop location is in Configuration-My Store, items 3 & 4 I think.
If you are still seeing those constants in the output, you most probably have overrides active, i.e. multiple copies of the files. Please check /includes/languages/english for a folder with the name of the template you are using i.e. /includes/languages/english/your_template, and check it for copies of shopping_cart.php. ANy copies of the file that you find should have the following near the bottom:
// big royal mail modifcation 10-10-2006
define('TITLE_NO_SHIPPING_AVAILABLE', 'Not Available At This Time');
define('TEXT_NO_SHIPPING_AVAILABLE','<span class="alert">Sorry, we cannot calculate your shipping __COUNTRY__ at this time.</span><br />Please contact us so that we can arrange a quote tailored especially for you.');
1 Attachment(s)
Re: New Royal Mail Modules
I tried the above, but to no avail, but profuse thanks for your suggestions.
I think the problem is in the sql thing. This is what I have for the orders_total ID:
The price for 1 is £3.50 , so can I remove some of these?
Re: New Royal Mail Modules
Not quite sure what you're asking..., but the Order Totals display is set in Modules-Order Totals. You can switch items on and off, and the sort order dictates in which order they appear.
Shipping module problems are usually traceable to incorrectly set up Zones or store location, not helped by the fact that it is easy to get them wrong. In earlier versions of Zen Cart a favourite trick was to use UK for the country code, when the ISO code is in fact GB. Hours of harmless fun to solve.
There is a PDF file in the Big Royal Mail docs folder called UKZR or similar, which has quite a good discussion on the subject.
It is also important not to be too restrictive on the settings when you are testing/fixing. Do not set max weights or prices that are too close to your cart price or max shipping weight. The trick is to get a 'wrong' display so the fix can be deduced from it. So set the max value to 500, and add a line like 20:20 to the shipping rates, so the problem can be isolated.
In trying to identify your 4 items problem, the only way I could get anywhere near it was by having the store location in My Store in the United States, and the customer in the UK, or not defined.
Re: New Royal Mail Modules
Hi,
I also noticed that my 1st class recorded large letter pricing for 190g comes out as £2.10 when it is supposed to be £1.40. I have these shipping rates:
0.1:1.18
0.25:1.40
0.5:1.68
0.75:2.12
This is because 70p is added automatically as insurance. Can I just set 0:25 to 0.70, that way when the 70p is added, the total will equal £1.40?
Re: New Royal Mail Modules
I've no idea where those rates are coming from?
The signed for rates have a constant defined in e.g. /includes/languages/english/modules/shipping/rm1stlargelettersf.php that simply adds 70p to the standard large letter rate.
Re: New Royal Mail Modules
Sorry,
I got them from modules>shipping.