Easy Digital Downloads – category selection

Home Forums Ticket Products Event Tickets Plus Easy Digital Downloads – category selection

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1198608
    Michael
    Participant

    Hello,

    I use Events Calendar Pro, with Events Ticket Plus and Easy Digital Downloads.

    When I set up a ticket within the ‘new event’ screen, it seems to automatically save the category as ‘Ticket’

    I then have to go into ‘Edit ticket in EDD’ and then de-select Ticket and select the chosen category (which is the same as the event category).

    Is there a way to automate this?

    Cheers,

    Michael

    #1198830
    Hunter
    Moderator

    Michael,

    Thank you for being thorough in the description of your issue as it was helpful when attempting to reproduce the behavior. I don’t know whether this is a bug or by design, but I went ahead and created a bug report and once the developers have a chance to review the ticket, I’ll have a better idea on how to answer your question.

    Thanks again and stay tuned for an update. Have a great week ahead and take care. Cheers!

    #1199251
    Hunter
    Moderator

    Hey Michael,

    Thank you for your patience. Try adding the following snippet to your theme’s functions.php file and it should deselect the Ticket category when creating a new ticket. Let me know how it works out and have a good afternoon. Cheers!

    function tribe_events_remove_default_category_for_edd_tickets( $event_id, $ticket, $raw_data, $classname ) {

    if ( ! empty( $ticket ) && isset( $ticket->ID ) ) {
    wp_remove_object_terms( $ticket->ID, 'Ticket', 'download_category' );
    }
    }

    #1208887
    Support Droid
    Keymaster

    Hey 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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Easy Digital Downloads – category selection’ is closed to new replies.