edd_price

Home Forums Ticket Products Event Tickets Plus edd_price

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #625651
    tuberb
    Participant

    I am working in a function reading and writing events calendar events. We have Events Calendar Pro and EDD Tickets.

    There does not seem to be a function to either display or change the price for an event, although I can see the relationship between the event and its associated download in the postmeta table.

    Am I missing something, or does the API provide a way to reference and update the price for an event?

    Thanks,

    Barry

    #639650
    Barry
    Member

    Hi Barry!

    If you can obtain the download (product) ID then the rest can probably be done with EDD functions or else directly via the WordPress API. Some of these functions might be of interest:

    • edd_get_download_by()
    • edd_get_download_price()
    • update_post_meta()

    I hope that helps 🙂

    #642593
    tuberb
    Participant

    I ended up poking around in the TEC and EDD code and figuring out how to call TribeEDDTickets::save_ticket from inside my script that is importing data from a csv to populate events, with prices.

    I will say that the documentation for the EDD Tickets side of things is a little sparse compared to the rest of the documentation. And I am not all that big a fan of that documentation, given the absence of examples.

    Barry

    #650673
    Barry
    Member

    Hi – glad you you figured things out 🙂

    Yes, our documentation can be sparse in places and we’re actively working to address that – so hopefully we’ll see a continual improvement going forward.

    At this point I’ll go ahead and close the thread but please don’t hesitate to create new threads as needed if anything else crops up and one of the team will be only too happy to help.

    Thanks again!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘edd_price’ is closed to new replies.