Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Show Payment Option for a Category

Quote Reply
Show Payment Option for a Category
I use all 3 payment options in different categories of my directory.
How do I indicate (display) to a user who is log in, what type of category it is, before he selects "Add a Listing"
I like to show on the category page or menu bar, whether this is a paid, free or optional category.

The problem I am having is that many new users who want to submit a free link, add thier listing into a paid category not knowning it is a paid listing until after they have submitted.
Quote Reply
Re: [Sies] Show Payment Option for a Category In reply to
On the category page, you can do something like:
Code:
<%if Payment_Mode == 0%><%set Payment_Mode = $config.payment.mode%><%endif%>
Payments are <%if Payment_Mode == 1%>Not Accepted<%elsif Payment_Mode == 2%>Optional<%else%>Required<%endif%>

Adrian
Quote Reply
Re: [brewt] Show Payment Option for a Category In reply to
Thanks
That works great, but I want it to only show when a user is Login.