Thanks for the quick response, I was sure I must be doing something wrong.
Printable View
Thanks for the quick response, I was sure I must be doing something wrong.
if
includes/languages/english/popup_shipping_estimator.php
is edited to add these two lines:
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).Code: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.');
Philip.
Yes its working here with the popup estimator as well. :D
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
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.
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
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:
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.
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.
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)