Forums / General Questions / I cannot change the USPS shipping wording

I cannot change the USPS shipping wording

Views: 566

Results 1 to 2 of 2
15 Mar 2012, 7:38 PM
#1
bangsters avatar

bangsters

Zen Follower

Join Date:
Jun 2006
Posts:
168
Plugin Contributions:
0

I cannot change the USPS shipping wording

Hi.

We use USPS to ship. However, we do not want to identify the specific shipping method (Priority Mail, Express Mail, etc), and instead we just want to specify Standard Shipping or Expedited Shipping.

I have edited the language file in includes/languages/english/modules/shipping/usps.php to:

define('MODULE_SHIPPING_USPS_TEXT_OPT_PM', 'Standard Shipping');
define('MODULE_SHIPPING_USPS_TEXT_OPT_EX', 'Expedite Delivery');

However, when I try to do a test order, in the estimate shipping window, it still says Priority or Express.

Also, how do I remove the number of days delivery. I want to override and set to definite delivery dates.

Please advice.

Thanks

16 Mar 2012, 3:37 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: I cannot change the USPS shipping wording

You can test it with the code in RED:

echo $title . ' - ' . $type. '<br>';
if ($type == 'PARCEL') {
  $title = 'FRED';
}
// add $this->usps_countries to title to test actual country

and then adapt it as needed ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!