Skip to main content

Message no_rates

More
10 years 1 week ago #250726 by thomasf
Message no_rates was created by thomasf
-- HikaShop version -- : 2.6.4

Hi,

when a country is not covered by our shipping methods an alert message appears above of the check out. It shows: Message
no_rates

Basically that is fine, but no_rates look not good. How can I change or edit the no_rates message into a more suitable massage?

Regards

Thomas

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

More
10 years 1 week ago #250727 by Jerome
Replied by Jerome on topic Message no_rates
Hi,

There is no message "no_rates" in HikaShop but there is an array containing error messages where the key can be "no_rates".
Code:
$errors['no_rates'] = JText::_('NO_SHIPPING_METHOD_FOUND');
So I don't know what is displaying you the error message but it does not read the right part in the array.
Because the "more suitable message" is in the value side of the array.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

More
10 years 1 week ago - 10 years 1 week ago #250762 by thomasf
Replied by thomasf on topic Message no_rates
Hi,

thanks for your reply. See the screen shot about how it looks. The line you showed containing no_rates, is in shipping.php

if(empty($rates)) {
$errors = JText::_('NO_SHIPPING_METHOD_FOUND');
$this->errors = $errors;
return $usable_methods;
}

In en-GB.com_hikashop.ini I can also find the corresponding language file line: NO_SHIPPING_METHOD_FOUND="No method found"

So all seems to be there but it stops at no_rates

Thanks and regards

Thomas

Last edit: 10 years 1 week ago by thomasf.

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

More
10 years 1 week ago #250785 by nicolas
Replied by nicolas on topic Message no_rates
Hi,

It means that the system couldn't find any shipping methods.
So I invite you to check the different points listed in the FAQ regarding the shipping methods not being found:
www.hikashop.com/support/documentation/106-faq.html#ship

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

More
10 years 1 week ago #250793 by thomasf
Replied by thomasf on topic Message no_rates
Hi,
Yes that's right and that's ok. Some countries cannot be delivered. My problem is not that a shipping method is not found, but that I can't modify the message through the language file, as it gets stuck at no_rates. S instead of no_rates I want a modified message. But it won't get it from the language file.
Regards

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

More
10 years 1 week ago #250805 by Mohamed Thelji
Replied by Mohamed Thelji on topic Message no_rates
Hello Thomas,

Thank you for your feedback, we'll fix it as soon as possible.

For the moment the best solution for you will be to directly add that line through your translation file :

NO_RATES="No method found"

The following user(s) said Thank You: thomasf

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

Time to create page: 0.181 seconds
Powered by Kunena Forum