- Posts: 6
- Thank you received: 0
Rename Australia Post services
10 years 10 months ago #219003
by Yuganov
Rename Australia Post services was created 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.
-- 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.
10 years 10 months ago #219008
by nicolas
Replied by nicolas on topic Rename Australia Post services
Hi,
Change the line:
to:
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
Change the line:
Code:
$info->shipping_name .=' '.$service->name;
Code:
$shipping_name = JText::_($service->code.'_NAME');
if($shipping_name != $service->code.'_NAME')
$info->shipping_name .=' '.$shipping_name;
else
$info->shipping_name .=' '.$service->name;
AUS_PARCEL_REGULAR="Parcel Poost"
hikashop.com/download/languages.html#modify
Please Log in or Create an account to join the conversation.
10 years 10 months ago #219084
by Yuganov
Replied by Yuganov on topic Rename Australia Post services
Thank you for your reply, but unfortunately this doesn't help - see attachments
Please Log in or Create an account to join the conversation.
10 years 10 months ago #219106
by nicolas
Replied by nicolas on topic Rename Australia Post services
I've made a typo. It should be:
AUS_PARCEL_REGULAR_NAME="Parcel Post"
in your translation override
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.266 seconds