New Zenner
- Join Date:
- Dec 2008
- Posts:
- 3
- Plugin Contributions:
- 0
Trying to write function to return a products textual tax class... help!
Hi everyone. This is my first post at this forum, so, hi! I'm a systems admin by trade and in no way a PHP guy, but I've been muddling through Zencart long enough to know roughly what's going on.
In essence, I have a client that wants to display the text of a products tax class (eg San Francisco, CA) in the body of a particular product type. I've already got the product type setup and working, but I just can't figure out how to display the text of the tax class instead of the numeric value that's stored in the products table.
I tried creating a new function using the categories lookup function as a model, but I can't actually get the function to return data (probably because I have no real idea what I am doing. ;) I suspect this is the sort of thing a real PHP programmer could hack out in a couple minutes, so I thought I would post here and see what y'all thought.