Skip to main content

Rename Australia Post services

11 years 4 weeks ago #219003 by Yuganov
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.3.29
-- Browser(s) name and version -- : Firefox 41.0.2
-- Error-message(debug-mod must be tuned on) -- : no message

Hello,

I am using Australian Post v2 shipping plugin. Is any way to rename shipping services? See attached file.

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

11 years 3 weeks ago #219008 by nicolas
Hi,

Change the line:
Code:
$info->shipping_name .=' '.$service->name;
to:
Code:
$shipping_name = JText::_($service->code.'_NAME'); if($shipping_name != $service->code.'_NAME') $info->shipping_name .=' '.$shipping_name; else $info->shipping_name .=' '.$service->name;
in the file plugins/hikashopshipping/aupost2/aupost2.php and then you'll be able to use a translation override like this:
AUS_PARCEL_REGULAR="Parcel Poost"
hikashop.com/download/languages.html#modify

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

11 years 3 weeks ago #219084 by Yuganov
Thank you for your reply, but unfortunately this doesn't help - see attachments

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

11 years 3 weeks ago #219106 by nicolas
I've made a typo. It should be:
AUS_PARCEL_REGULAR_NAME="Parcel Post"
in your translation override

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

Time to create page: 0.064 seconds
Powered by Kunena Forum