Zen Cart Logo
Forums / Addon Shipping Modules / [Old] Royal Mail Modules

[Old] Royal Mail Modules

Locked

Views: 220,573

Results 761 to 780 of 936
This thread is locked. New replies are disabled.
13 May 2009, 10:46
#761
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

[Old] Royal Mail Modules

Version 2.3.5 is now available from here until it is in the add-ins section:

http://exploitingit.co.uk/versions/big_royalmail_v2.3.5.zip

Bug fixes to the Standard Parcels Modules (no need to re-install just place the files on the server)
Optional Shipping Estimator now updated to 1.3.8 code and re-arranged in the optional folder to make installation easier.

14 May 2009, 08:26
#762
tonyrobbo avatar

tonyrobbo

New Zenner

Join Date:
Sep 2006
Posts:
17
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

I have just updated the optional shipping estimator, but it is no longer working for me. It will only show me quotes for the UK even if I select another country?
If I replace with the previous version of the estimator it works fine, any ideas?

Also with either version of your estimator, if i no shipping is available I get this message:

TITLE_NO_SHIPPING_AVAILABLE TEXT_NO_SHIPPING_AVAILABLE

Is this correct as when looking at your files it seems I should be getting a more user friendy message?

14 May 2009, 08:35
#763
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

The constant should be defined in includes/languages/languages/english/shopping_cart.php at the bottom of the php, I've checked the zip file and it should be in there but I'll confirm if I've cocked up the instructions as to where to put it. Regarding the english thing I must investigate this further, and will get back as soon as I've set up a clean test site as it was working when I sent it outbut the test site I've been using has had a lot of modifications over the last couple of months.

There may be an issue in that originally there were 3 files, and if you previoulsy has it installed, then file number 3 from the old version may be causing a problem which is just what I can think of, off the top of my head. Back soon
Philip.

14 May 2009, 10:11
#764
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

tonyrobbo:

I have just updated the optional shipping estimator, but it is no longer working for me. It will only show me quotes for the UK even if I select another country?
If I replace with the previous version of the estimator it works fine, any ideas?

Also with either version of your estimator, if i no shipping is available I get this message:

TITLE_NO_SHIPPING_AVAILABLE TEXT_NO_SHIPPING_AVAILABLE

Is this correct as when looking at your files it seems I should be getting a more user friendy message?
I have confirmed that the problem with the shipping_estimator where it does not display non-gb countries is caused by having an old shipping_estimator.php installed from an previous version of the Big RoyalMail modules. You need to replace includes/modules/shipping_estimator.php with the one from whichever version of zencart you are currently using e.g. 1.3.8 when I install the old optional estimator and then upgrade it to the new, the same error, so I should have made it clearer in my instructions about the need to revert, sorry.

With regards to the error message not being displayed, I am just working my way through that now.

Philip.

14 May 2009, 10:19
#765
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

tonyrobbo:

Also with either version of your estimator, if i no shipping is available I get this message:

TITLE_NO_SHIPPING_AVAILABLE TEXT_NO_SHIPPING_AVAILABLE

Is this correct as when looking at your files it seems I should be getting a more user friendy message?

:oops: Okay I made a mistake up there stating that shopping_cart.php should be in includes/languages/languages/english/shopping_cart.php it should be in includes/languages/english/shopping_cart.php like it is in the zipped up 2.3.5 version of the module, attached is what is displayed when it is in the correct place.

Philip

14 May 2009, 10:25
#766
tonyrobbo avatar

tonyrobbo

New Zenner

Join Date:
Sep 2006
Posts:
17
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Yes that fixed the quote problem, the TITLE_NO_SHIPPING_AVAILABLE, TEXT_NO_SHIPPING_AVAILABLE

problem still remains tho.

Thanks Philip

14 May 2009, 10:35
#767
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

Is your site using a template override ? that's the only thing I can think of, find shopping_cart.php on your shop and then muck around with the defines until you can change the text of the estimator, it maybe that the default location is being ignored in favour of a template. I'm just going to muck around with mine and see if I can find a possible overried location.

14 May 2009, 10:45
#768
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

tonyrobbo:

Yes that fixed the quote problem, the TITLE_NO_SHIPPING_AVAILABLE, TEXT_NO_SHIPPING_AVAILABLE

problem still remains tho.

Thanks Philip
Right I've been able to override mine so I am guessing you need to look for a shopping_cart.php in

includes/languages/english/classic/

or

includes/languages/english/YOUR TEMPLATE NAME/

there should certainly be a shopping_cart.php in *includes/languages/english/ * which shoulc be either the default zencart one or the one from the zip file and then there may be another one later on in the filesystem. My guess is that the file is not in the right place or has been overridden as I've been able to do both (see attachment above).

14 May 2009, 10:55
#769
tonyrobbo avatar

tonyrobbo

New Zenner

Join Date:
Sep 2006
Posts:
17
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Yes I thought of that and included it in that folder as well.

I have just switched the estimator from 1= Display as Button on Shopping Cart
to 2= Display as Listing on Shopping Cart Page and it now works correctly, its probably better this way anyway so thank you.

Mine doesn't look as pretty as yours tho?Attachment #5735
Attachment #5736

14 May 2009, 10:58
#770
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

The one I'm using is the default "classic" theme, I don't have an active shop to play with any more, and thank you as that means that I have cocked up somewhere and that the popup_estimator must be using a different define file, so all I need to do is locate it. It's small info like that, that helps a great deal.

14 May 2009, 11:13
#771
tonyrobbo avatar

tonyrobbo

New Zenner

Join Date:
Sep 2006
Posts:
17
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Thanks for the quick response, I was sure I must be doing something wrong.

14 May 2009, 11:13
#772
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

if

includes/languages/english/popup_shipping_estimator.php

is edited to add these two lines:

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 />Ple
ase contact us so that we can arrange a quote tailored especially for you.');

then the popup estimator works properly. It appears that the estimtor does not reference the defines in shopping_cart and only in the file above and english.php (not a good file to alter for a module), so I will include a modified popup_shipping_estimator.php and a 1.3.8 shipping_estimator.php so that people revert back to an original version if they choose to install. Thanks for your help and replies (it's a lot easier when someone replies when debugging even if it is to say if it worked, becasue otherwise there's just a lack of closure).

Philip.

14 May 2009, 11:25
#773
tonyrobbo avatar

tonyrobbo

New Zenner

Join Date:
Sep 2006
Posts:
17
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Yes its working here with the popup estimator as well. :D

14 May 2009, 15:57
#774
troonorth avatar

troonorth

New Zenner

Join Date:
Jul 2008
Posts:
9
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hello everyone

OK I'm totally clueless and sorry if this has been dealt with before. Just testing this mod and got this error appearing on my cart:

includes/modules/shipping/rmamisfsmallpacket.php; constant() [function.constant]: Couldn't find constant MODULE_SHIPPING_RMAMISFSMALLPACKET_ZONES_COUNTRIES_2

Can anyone please tell me what I have done wrong?

mod looks super by the way - well once I get rid of that message anyways

14 May 2009, 16:03
#775
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

That's very unusual as that is not "normal", what are testing out in the shopping cart, e.g. the country; as in theory the module should not get to the point where it looks for that constant (because it doesn't exist).

Philip.

14 May 2009, 17:11
#776
troonorth avatar

troonorth

New Zenner

Join Date:
Jul 2008
Posts:
9
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hi Philip,

not really sure what has happened. I just installed as instructed and then activated a couple of modules in admin. Then when I went to do a test order I added a product to cart and that is the message that appeared.

Everything else looks normal apart from that.

thanks
John

14 May 2009, 17:24
#777
troonorth avatar

troonorth

New Zenner

Join Date:
Jul 2008
Posts:
9
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

just to follow up

the initial test i did was on first class royal mail for shipping to uk.

i have since turned on a couple of the international mods as well (airsure and international recorded). When I have switched shipping estimator to other countries I am getting similar error messages for all of them.

It's probably due to some change that's been done to the cart in a bygone age and that I have forgotten about. If anyone has any ideas then great. If not I'll just have to stick with the crappy shipping set up I have got. :yuck:

14 May 2009, 18:17
#778
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

What happens in the module is that for international ones it goes "right that the uk" dump out, then it goes "right that's europe" give a quote, "right rest of the world" give a quote. The only thing that I can think of is that you're shipping is sending some very strange country set up through to the module. It really should stop at "rest of the world" there's a loop that should end, can you change some countries on the estimator and see what's happening ?

Thank you
Philip.

15 May 2009, 08:21
#779
troonorth avatar

troonorth

New Zenner

Join Date:
Jul 2008
Posts:
9
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hi Philip,

The module is actually working in terms of when you swap countries it gives you the correct shipping options and prices. It's just the error messages as mentioned previously appear just above the shipping quotes.

If I could get rid of the error messages as far as I can see the module is actually working fine.

15 May 2009, 08:27
#780
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

When you swap countries do the error messages disappear ? Is there anyway that I can quickly sneak a peak at this, because I've never seen it skip out of the loop before.
Thank you
Philip. (bte if you didn't know, I wrote it)