Zen Follower
- Join Date:
- Oct 2012
- Posts:
- 282
- Plugin Contributions:
- 0
Post #1 by tcarden
Advice on (where in the ZenCart universe) to put this stray function
For my client I've installed a UPS XML plugin. This plug-in works fine except my client like does like that fact it displays weight and package information to the customer. it displays it on the invoice, packing slip and on the check out page.
i've written a string function that turns this:
United Parcel Service (1 pkg, 7 lbs total) (UPS Ground):
into this:
UPS Ground.
I'd like advice on where to put this function so it can be called on the above mention pages.
OR, is there a better way to handle this? should it be put in a class file?
thanks!,