We are using the API to feed data to our app framework. We’ve recently discovered a slight problem wherein a listing decides not to renew and is downgraded to a free listing. This free listing does not allow for email & website to be displayed. This works on the website, but the API still provides this information, and hence, so does the app. Now, we are implementing a new app framework where we have to actually use template hooks to pass along extra fields. This will actually give us a bit more freedom to work around this. Any suggestions on how best to accomplish this? I suspect checking the value of the package_info array and only displaying the field if that is greater than the ID of the free package. But I’m not technical enough to know how to do that exactly.
As always, any help is appreciated.