Home › Forums › Ticket Products › Event Tickets Plus › View Purchased Tickets on Custom Post Type
- This topic has 3 replies, 2 voices, and was last updated 8 years, 6 months ago by
Jason.
-
AuthorPosts
-
September 13, 2017 at 10:44 am #1348749
Jason
ParticipantHi,
I just updated to the latest Event Tickets and Event Tickets Plus plugins and noticed that on my custom event post type page, a link appears above the Add to Cart form that shows that I have purchased tickets to this event and is supposed to allow me to view them. After some searching in the forums, it appears that this link has been around for some time yet for some reason it only appeared on my page for the first time after upgrading the plugins a couple of days ago.
The problem I’m having is that clicking on the link which appends “?tribe-edit-orders=1” to the event page’s URL does nothing other than refresh the current page. I’m assuming that this has something to do with the fact that I have a custom post type and I’m using a custom single-page PHP template file to output the content. I may be missing something in my template that is needed to display the purchased tickets edit form?
I did revert the stock 2015 theme and clicking on the view tickets link does indeed bring up a list of the tickets purchased and allows the attendee data to be updated. The only problem on the 2015 theme is that besides showing the purchased tickets, I’m also getting multiple (3) Add to Cart forms displayed on the page.
Can you tell me if there is something that I need to add to my template file in order to get this feature to appear on my page? If I can’t get it to work, would it be possible to eliminate the link altogether by calling
remove_action('tribe_tickets_before_front_end_ticket_form' );or by overriding a view template?If I do remove the link from the page, I assume customers would still be able to go to their account page and see their tickets?
Thank you
September 14, 2017 at 8:40 am #1349206Andras
KeymasterHello Jason,
Thanks for using our plugins and for reaching out!
To be able to give you better support, could you please share your system information with me?
Here’s a handy guide how you can do that: https://theeventscalendar.com/knowledgebase/sharing-sys-info/Thanks!
Also, could you share with me a url where that issue can be seen?
To get started on the issue, yes, a “remove_action()” should work, as well as a template override of this file:
wp-content\plugins\event-tickets\src\views\tickets\orders-link.php
If I do remove the link from the page, I assume customers would still be able to go to their account page and see their tickets?
No, unfortunately the users are not able to see purchased tickets in their account.
If you are using WooCommerce then users can take a look at their orders under a url like this: http://domain.tld/my-account/orders/
but the tickets themselves are not there. They can be viewed on the page where the link leads:
http://domain.tld/event/{event-slug}/tickets/
Cheers,
AndrasOctober 6, 2017 at 9:35 am #1360394Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘View Purchased Tickets on Custom Post Type’ is closed to new replies.
