Home › Forums › Ticket Products › Event Tickets Plus › Show tickets that haven't reached sale date yet
- This topic has 6 replies, 2 voices, and was last updated 8 years, 5 months ago by
Robert Shippey.
-
AuthorPosts
-
November 2, 2017 at 8:18 am #1373769
Robert Shippey
ParticipantHi,
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.
November 3, 2017 at 4:51 am #1374535Andras
KeymasterHey 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,
AndrasNovember 13, 2017 at 8:58 am #1381639Robert Shippey
ParticipantHi,
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!
November 14, 2017 at 3:33 am #1382261Andras
KeymasterHey 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
November 14, 2017 at 6:48 am #1382419Robert Shippey
ParticipantThanks 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_eventsThat 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!
-
This reply was modified 8 years, 5 months ago by
Robert Shippey.
November 15, 2017 at 12:24 pm #1383833Andras
KeymasterRobert, 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,
AndrasPS: 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!
-
This reply was modified 8 years, 5 months ago by
-
AuthorPosts
- The topic ‘Show tickets that haven't reached sale date yet’ is closed to new replies.
