Home › Forums › Ticket Products › Event Tickets Plus › Trying to get the Event Ticket Name
- This topic has 13 replies, 2 voices, and was last updated 9 years ago by
Jason Frey.
-
AuthorPosts
-
April 7, 2017 at 11:47 am #1266722
Jason Frey
ParticipantI am trying to display each ticket price with their ticket name on the front end of my site. I was able to find the array for the ticket price, but I am not seeing a post_meta for the ticket name.
Example:
In the back end for the Event I created 4 tickets
VIP : 200
Networker : 250
Subscriber : 275
Non-Member : 300I am able to split the prices, but I see nothing in the post_meta that has the names; VIP, Networker, Subscriber, Non-Member.
Is there a way for me to get these fields?
April 7, 2017 at 11:50 am #1266724Jason Frey
ParticipantThis reply is private.
April 11, 2017 at 5:57 am #1268175Jason Frey
ParticipantHello, it has been a few working days since I initially posted this.
I was wondering if anyone has been able to assist me with this?
April 11, 2017 at 9:09 am #1268295Victor
MemberHi Jason!
I apologise for the delay in getting back to you. We’ve been having a higher demand for support than normal and that along with some team changes has unfortunately caused some delays.
I’d be happy to help you with that!
First off, I do want to note that we are fairly limited in how much we can support custom development questions like this.
That said, I’d be happy to at least point you in the right direction as best I can. We also have a list of freelancers who we would happily recommend for this level of help.
What array are you printing? Is the link you provided for the single event page? Where are you trying to show this info?
You should check the templates for the Event Tickets Plus plugin here > /wp-content/plugins/event-tickets-plus/src/views/
Thanks,
VictorApril 11, 2017 at 1:00 pm #1268504Jason Frey
ParticipantIn wp-admin, I have created several ticket sets for WooCommerce instead of RSVP.
Example:
VIP : $200
Networker : $250
Subscriber : $275
Non-Member : $300In the array I am able to split the array
_EventCostto get the listing of each price, but I am not able to find anywhere within the query, the NAMES associated with those prices in_EventCostWhat I want is to get the title of each ticket that I am making. So I want to be able to print “VIP $200”
I am able to do the customization, but I was hoping to tap into the plugin before I have to create custom fields.
April 12, 2017 at 9:15 am #1268872Victor
MemberHi Jason!
Oh yeah, I see exactly what you mean.
You should take a look in the tickets.php template file located in /wp-content/plugins/event-tickets-plus/src/views/wootickets/tickets.php
You can make a var_dump of $tickets and you should be able to pull all the ticket info from there.
I hope that helps. Let me know if any other questions.
Best!
VictorApril 13, 2017 at 7:09 am #1269402Jason Frey
ParticipantExcellent, thank you. I will investigate this!
April 13, 2017 at 8:42 am #1269475Victor
MemberYou’re welcome Jason!
You do that and let me know how it works.
Good luck!
VictorApril 18, 2017 at 2:48 pm #1271320Jason Frey
ParticipantThis reply is private.
April 18, 2017 at 9:13 pm #1271460Victor
MemberThis reply is private.
April 19, 2017 at 6:11 am #1271557Jason Frey
ParticipantThis reply is private.
April 19, 2017 at 6:21 am #1271560Jason Frey
ParticipantThis reply is private.
April 19, 2017 at 12:50 pm #1271844Victor
MemberThis reply is private.
-
AuthorPosts
- The topic ‘Trying to get the Event Ticket Name’ is closed to new replies.
