Hiding tickets from Event page

Home Forums Ticket Products Event Tickets Plus Hiding tickets from Event page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1402546
    Lalenia
    Participant

    Hi, I have the same problem as this unresolved thread:

    Restrict ticket purchases to members only

    I am using Memberpress to restrict different tickets to different categories of members, through the Woocommerce shop. However, on my Event page, I can see all the tickets – even ones that I shouldn’t be able to purchase according to my membership category (i.e. they’re not visible to me on the WC shop).

    I do have the Members plugin installed already.

    If you can help me through this that would be great.

    Also, I’m happy to hide the Tickets box entirely on the Event page, and just direct people to the shop.

    Thanks

    #1404336
    Jennifer
    Keymaster

    Hi Delinda,

    Thanks for reaching out! If you would like to hide the tickets altogether, you could do this quickly and easily with some CSS. You can hide certain tickets based on user role by customizing the template file. Our themer’s guide has instructions on how to do this, and the file you’ll want to copy into your child theme for editing can be found at wp-content/plugins/event-tickets-plus/src/views/wootickets/tickets.php. You could use the current_user_can function to check the user’s permissions before displaying the ticket. We are a bit limited in the amount of support that we can provide for customizations, but if you get stuck or have any questions, please don’t hesitate to ask!

    Thanks,

    Jennifer

    #1405716
    Lalenia
    Participant

    Perfect, thanks. I’m not sure why I hadn’t found that previous thread!

    #1406315
    Jennifer
    Keymaster

    No problem, I’m glad that helped! Please let me know if you have any other questions : )

    #1419532
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Hiding tickets from Event page’ is closed to new replies.