Trying to get the Event Ticket Name

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.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1266722
    Jason Frey
    Participant

    I 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 : 300

    I 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?

    #1266724
    Jason Frey
    Participant

    This reply is private.

    #1268175
    Jason Frey
    Participant

    Hello, 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?

    #1268295
    Victor
    Member

    Hi 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,
    Victor

    #1268504
    Jason Frey
    Participant

    In wp-admin, I have created several ticket sets for WooCommerce instead of RSVP.

    Example:
    VIP : $200
    Networker : $250
    Subscriber : $275
    Non-Member : $300

    In the array I am able to split the array _EventCost to get the listing of each price, but I am not able to find anywhere within the query, the NAMES associated with those prices in _EventCost

    What 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.

    #1268872
    Victor
    Member

    Hi 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!
    Victor

     

    #1269402
    Jason Frey
    Participant

    Excellent, thank you. I will investigate this!

    #1269475
    Victor
    Member

    You’re welcome Jason!

    You do that and let me know how it works.

    Good luck!
    Victor

    #1271320
    Jason Frey
    Participant

    This reply is private.

    #1271460
    Victor
    Member

    This reply is private.

    #1271557
    Jason Frey
    Participant

    This reply is private.

    #1271560
    Jason Frey
    Participant

    This reply is private.

    #1271844
    Victor
    Member

    This reply is private.

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Trying to get the Event Ticket Name’ is closed to new replies.