Modify the "No Shipping Method Found" message

  • Posts: 35
  • Thank you received: 1
11 years 3 months ago #117969

Hi There

Everytime I try and override or edit the No Shipping Found error message.

NO_SHIPPING_METHOD_FOUND="Hello this is a test"

It formats the error message like this when it is displayed on the front end:

HELLO_THIS_IS_A_TEST

All other overrides I have done to the language file are working fine.

I tried loading the latest language file but any time I change that one message (even if I alter just 1 letter) it formats it differently like I showed above. E.g.I changed the d to an s and this is how it appears now = NO_SHIPPING_METHOS_FOUND

Cheers

shifty_

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 3 months ago #118021

Hi,

Thanks for your feedback, we found out from where the problem was coming and fixed it, so you'll just have to :
- Edit the "YOUR_WEBSITE\administrator\components\com_hikashop\classes\shipping.php" file.
- Change these lines :

if($trans!=$value){
	$value = $trans;
}
$app = JFactory::getApplication();
$app->enqueueMessage($value);
By :
if($trans!=$value){
	$trans = $value;
}
$app = JFactory::getApplication();
$app->enqueueMessage($trans);

Please Log in or Create an account to join the conversation.

  • Posts: 35
  • Thank you received: 1
11 years 2 months ago #120975

Hi There, I tried the above and while it fixed the problem for that particular message it seems to break other errors messages. For example, instead of the nice message I typed in to the override section it now says this:

ORDER_QUANTITY_TOO_SMALL_FOR_SHIPPING_METHODS

Cheers

Mark

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 2 months ago #121002

Hi,
I think that you should just download the last Hikashop version through our website, install it, and try it again.

Please Log in or Create an account to join the conversation.

  • Posts: 52
  • Thank you received: 0
10 years 11 months ago #135864

I just downloaded the latest version yesterday and now I am having the same error message. Can anyone help?

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 11 months ago #135881

Hi,
Can you give me a link to your website so that I can test if the error is the same ?
Also, can you download the last Hikashop version through our website, install it, and test it again ?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 11 months ago #135930

The latest version is now 2.2.3
Can you provide screenshots of the options of your shipping methods ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.084 seconds
Powered by Kunena Forum