Tickets & members discounts

Home Forums Welcome! Pre-Sales Questions Tickets & members discounts

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1110363
    Charlie
    Guest

    Please see: https://theeventscalendar.com/support/forums/topic/discounted-tickets-for-logged-in-members/

    Thanks for your help with this.

    In addition, is it possible to use our currently functionality of restricting access to the product/cart through ‘Groups’ and ‘Groups for WooCommerce’ so the ticket/page is only available to WordPress logged in users? This is the current functionality we have across our members area etc.

    Also, would it be possible to apply coupons to these through WooCommerce similar to how Eventbrite works? This could be a solution.

    Thanks in advance

    #1110506
    Brook
    Participant

    Howdy Charlie,

    It is certainly possible to restrict access to the calendar from logged out users. This would require a small bit of PHP code, but we have a very solid example demonstrating how to do this.

    If you want to hide specific event categories from logged out users:

    https://gist.github.com/elimn/c47fb3e65d437c2479bd

    If you wish to hide the entire calendar though then you could simply put all events in a shared private category, in addition to any other categories. Or to be really can you could do a modification of the calendar template using our Themer’s Guide . If the user is not logged in tell them they will need to register to view the calendar. Something like this example would do:

    if ( ! is_logged_in() ) { echo "Please register to view the calendar"; } else { ... }

    Does that all make sense and answer your question? Will that work for you? Please let me know.

    Cheers!

    – Brook

    #1116473
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Tickets & members discounts’ is closed to new replies.