Home › Forums › Ticket Products › Event Tickets Plus › My Tickets overview always shows the Price list and Price paid
- This topic has 5 replies, 4 voices, and was last updated 9 years, 5 months ago by
hprata.
-
AuthorPosts
-
October 18, 2016 at 5:54 pm #1178799
hprata
ParticipantI am having a bridge plugin developed for Event Tickets Plus, and have run into a major problem that I think might be a bug in Event Tickets Plus. The bridge plugin that I am developing allows a user to enter the amount they want to pay for a ticket (like a fundraiser ticket).
Issue:
The My Tickets overview always shows the$product->get_price_html()
price for a ticket instead of the price that was paid for a ticket. See image attached where it says “Suggested Price: $1000” instead of the price paid.
We believe we need to connect the attendee’s ticket with the WooCommerce order item, but the existing filters/functions are missing variables I need to manually connect the two pieces from my bridge plugin. Ideally, Tickets Plus always would use the “paid” price for the list of attendees, because that would work automatically with any bridge plugin and not have any problems at all with event tickets. Is this possible or are we missing something?
Also is there a GitHub for Tickets Plus?
October 20, 2016 at 8:44 am #1179832Nico
MemberHi there @hprata,
Thanks for getting in touch with us to report this!
I understand the issue here and see how this doesn’t work for your case, but I’m not sure this is actually a bug. Anyway I just talked about this with one of our devs and he thinks it might be possible to use woocommerce_get_price_html filter (I see woo is the provider used in your site) and conditionally hook if they are within the ‘My Tickets’ section. Can you explore that option?
Also is there a GitHub for Tickets Plus?
Yes, but as it’s a premium plugin it’s a private repo.
Please let me know about it,
Best,
NicoOctober 21, 2016 at 8:04 am #1180552hprata
ParticipantHello we have another question regarding your suggestion.
What is the conditional function that checks if you are in the “my tickets” section? And does that distinguish between the tickets table on the singular Event page? If there is a conditional in place where can we find it?
Thanks in advance!
Also do you mind removing the image above. I didn’t notice it had an email address in it when I put it up.October 24, 2016 at 12:54 pm #1182084Nico
MemberThanks for following up @hprata!
What is the conditional function that checks if you are in the “my tickets” section? And does that distinguish between the tickets table on the singular Event page? If there is a conditional in place where can we find it?
Sure you can check if that’s the current view in the global query arguments:
global $wp_query;if ( isset($wp_query->query['eventDisplay']) && $wp_query->query['eventDisplay'] == 'tickets') {
// it's the 'my tickets' page
}
It will only enter the conditional if you are viewing the ‘my tickets’ page, and not in the tickets form.Please let me know if this helps,
Best,
NicoPS: image removed.
November 15, 2016 at 8:35 am #1192500Support 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 ‘My Tickets overview always shows the Price list and Price paid’ is closed to new replies.
