Ok. I searched in the Developers Tool Kit and found the file to remove days...now I need to know where to remove the brackets...
Can anyone please help?? This is what I have now:
United States Postal Service (1 x 0.10lbs) (Priority Mail ( ))
Ok. I searched in the Developers Tool Kit and found the file to remove days...now I need to know where to remove the brackets...
Can anyone please help?? This is what I have now:
United States Postal Service (1 x 0.10lbs) (Priority Mail ( ))
Ok. After I turned the time off in the usps module in admin, I still had the parentheses, therefore, I edited the usps.php (saved a copy to my custom folder):
lines 511 & 566
if ($time != '') $transittime[$service] = '(' . $time . ')';
I changed the lines to this:
/* if ($time != '') $transittime[$service] = '(' . $time . ')';*/
This took out the time & brackets/parentheses. Works like a charm now.
Thanks
On USPS you could instead of touching the code to turn off the days, simply edit the USPS module in the Zen Cart Admin under the Modules ... Shipping ... and turn the switch off:
it would be a b it easier there ...USPS Options
Select from the following the USPS options.
Display weight
Display transit time![]()
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!
Thanks for replying. I appreciate your response. For some reason or another, when I turned it off in admin the parentheses remained. When I changed the code, they went away. Looks lot's better without the pesky little curves!
All is good..for now...on to the next little mountain...![]()