Post by BigLen » Thu Nov 13, 2014 10:37 am

Is there a way that I can change the language within the OpenCart supplied UPS module so that the shipping method is named Standard Shipping, rather than UPS Ground?

The UPS calculated method works fine for us to cover the cost of shipping, but depending on the item and/or location some items ship via FedEx Ground, USPS, or OnTrac. My thoughts were that it might be easier to change the language for this one term than institute another module, especially since we use UPS the majority of the time.

Thanks for your help!

Big Len
https://BigLensCycles.com

Image
Quality Motorcycle ATV and UTV Parts & Accessories - Discount Prices


New member

Posts

Joined
Sun Sep 07, 2014 7:04 am

Post by ClickPointCreative » Thu Nov 13, 2014 7:02 pm

First of all, I am assuming you are using the default UPS shipping method included in OpenCart. I haven't been able to test this because I don't have a UPS username or account number and also I am not sure if it is the same in all versions 1.5x of OpenCart but...

In OpenCart 1.5.6.4 locate the file catalogue/language/english/shipping/ups.php

Locate:

Code: Select all

$_['text_us_origin_03']    = 'UPS Ground';
Change To:

Code: Select all

$_['text_us_origin_03']    ='Standard Shipping';
Locate:

Code: Select all

$_['text_eu_origin_03']    = 'UPS Ground';
Change To:

Code: Select all

$_['text_eu_origin_03']    = 'Standard Shipping';
While you are in the file there is a list of regions and their titles. You may want to adjust them all, but for UPS Ground to be changed to Standard, try the above.

It is only a small edit, so if it fails you can always easily change it back.

I am in the process of trying to get a UPS Account so I can test this myself, if you don't want to try it first I will let you know when I have tested it.

Note: The above will only change it for the frontend (customer). If you want to change it for the backend (admin) as well let me know and I will give you the snippet for that.

Again, I HAVE NOT TESTED THIS, so it may not work but it is only a small edit so you won't have any trouble changing it back if it fails. I suggest you make a backup of the file before you make any changes.

Kind regards,
CPC.


Posts

Joined
Fri Oct 31, 2014 8:20 pm

Post by BigLen » Sat Nov 29, 2014 4:32 am

Thank you so much! So far so good! :) I thought that it was probably just a matter of changing the language, but I'll be darned if I could find the right file. Thanks for your help, it is greatly appreciated!

Big Len
https://BigLensCycles.com

Image
Quality Motorcycle ATV and UTV Parts & Accessories - Discount Prices


New member

Posts

Joined
Sun Sep 07, 2014 7:04 am
Who is online

Users browsing this forum: No registered users and 3 guests