Show tickets that haven't reached sale date yet

Home Forums Ticket Products Event Tickets Plus Show tickets that haven't reached sale date yet

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1373769
    Robert Shippey
    Participant

    Hi,

    I’m looking to set up some early bird and standard tickets through Events Tickets Plus and WooCommerce. The non-early bird tickets aren’t available until a later date, but I’d like them to show up but disabled so people can clearly see that it’s cheaper to buy early. I’ve set the standard tickets to be available after a start date, but they just don’t show up on the front end and I can’t see any setting to achieve what I’m looking for.

    I hope that makes sense. Could you point me towards any hooks/filters that I could use to make this happen. Thanks.

    #1374535
    Andras
    Keymaster

    Hey Robert,

    Thanks for reaching out!

    Probably the best way doing this would be via a template override. You can find more details on this in our Themer’s Guide.

    I believe you will need to adjust this file:

    wp-content\plugins\event-tickets-plus\src\views\wootickets\tickets.php

    Starting around line 67.

    Let me know if this gets you started.

    Cheers,
    Andras

     

    #1381639
    Robert Shippey
    Participant

    Hi,

    That’s exactly what I needed, thanks.

    One other thing. Is there a specific user capability that’s related to checking quests in via the QR code scan? I’m hoping to create a custom user role which will allow for our door staff to log in and be able to check users in, but not be able to edit posts/pages/settings/other stuff.

    I’ve got Members installed and I can’t see any capabilities being picked up within that. Any hints? Thanks!

    #1382261
    Andras
    Keymaster

    Hey Robert,

    Happy to hear that helped.

    In order to check in attendees with a QR code you need to have a Contributor user account, there is no specific capability.

    Note however, that the contributor already has edit / delete capabilities.

    To create a specific role with only checking in users you would need to make changes to the core files of the plugin.

    We are also looking into improving the check-in functionality of the plugin, but cannot say when that will happen.

    Is there anything else I can help you with?

    Andras

    #1382419
    Robert Shippey
    Participant

    Thanks for your reply.

    For anyone who comes here in the future….
    Looking in the Tickets Plus plugin code (as of 4.5.3) I can see that the capability used to verify a user can check guests in via QR code is ‘edit_posts’. I created a role with the following three capabilities which limits the user as much as possible but still allows them to do their job.
    read
    edit_posts
    edit_tribe_events

    That will allow these users to create draft posts/events but not publish them, they will not be able to delete posts/events or edit posts/events created by other users. They will also be able to see the ‘orders’ and ‘attendees’ reports for each event too. They may be able to see/use other plugins which haven’t used sensible capabilities. Your milage may vary.

    Thanks for your help Andras!

    #1383833
    Andras
    Keymaster

    Robert, thanks for sharing your solution, that is much appreciated!

    Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please create a new ticket and we’ll be happy to help.

    Cheers,
    Andras

    PS: If you like our plugins, and you didn’t yet do so 🙂 we would be happy to receive a review in the wordpress.org repository. Thanks!
    https://wordpress.org/support/view/plugin-reviews/the-events-calendar/
    https://wordpress.org/support/view/plugin-reviews/event-tickets/

    PS2: We’d be also grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. 🙂 If you can spare a few words, that’s even better. Doublethanks!

     

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Show tickets that haven't reached sale date yet’ is closed to new replies.