Posted: October 25, 2023 at 2:30 pm
|
I would like to Sell ticket to only paid members on our website. We are using s2member plugin to differentiate the membership level. I would like to sell them ticket at a special price but not to free subscribers. How can I achieve that? |
You might want to look on the discussion here. there are also some code you can use there. thanks |
|
|
thanks for the response. I had another question, could I then limit the tickets sold per paid member to 2? |
Hi there, We don’t currently have a feature to set specific ticket limits like the above. Would it would to remove the ticket from the ticket selector if the user has registered onto it before? I have a snippet to do that here: https://gist.github.com/Pebblo/eabb317ca126f5b298eca78755f2cbd1 You could then set the tickt to have a max qty of 2 f the user selects 1 or 2 tickets and registered with their own details the next time they view that ticket selector it wont show the ticket. |
|
|
Hi there, thanks for the above snippet but I would like to have the ticket displayed till the max limit is not reached. So for example the user buys 1 ticket and max allowed is 2, then he should be able to buy another one as well. Is that possible? |
|
also it should check that the registration status is approved. |
|
I tried to implement this, will this work? // does the user have a registration for this ticket? // if they already have a registration on this ticket, remove the ticket from the ticket selector. |
Yes, that should work… however…. try
|
|
The support post ‘ticket capability for s2member level1/ 2/ 3 but not for free subscriber’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.