Overriding tickets.php in a child theme breaks ticket fields

Home Forums Ticket Products Event Tickets Plus Overriding tickets.php in a child theme breaks ticket fields

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1099790
    Robert Staddon
    Participant

    The directed method for making special customizations to the Tickets display form on an event is to copy the “event-tickets-plus/src/views/wootickets/tickets.php” file into your theme folder at “tribe-events/wootickets/tickets.php”. This works great! However, overriding the form like this breaks the ticket fields feature. When you start selecting a quantity of tickets, no fields appear!

    The cause of this is the statement on line 114 of the ‘tickets.php’ template that includes the “meta.php” based on a relative path to the file:
    include dirname( __FILE__ ) . ‘/../meta.php’;

    Obviously, copying over this template to the theme folder for overriding purposes is going to break that path.

    For now, I can just hard-code the path to “meta.php” in the template (“include WP_PLUGIN_DIR . ‘/event-tickets-plus/src/views/meta.php'”) to work around this, but this issue really should be fixed. Thanks!

    #1099812
    George
    Participant

    Thank you for reporting this! I will create a bug ticket for our developers and we will patch this up as soon as possible.

    Stay tuned to maintenance releases for this to be fixed!

    Cheers,
    George

    #1105980
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

    #1117006
    Brook
    Participant

    I just wanted to thank you once again for reaching out to us about this. We just released a new version of The Events Calendar and all of its addons that contains a fix for this.

    Our blog post with the full details: The Events Calendar 4.1.4 and premium add-ons

    We recommend updating as soon as you can to get the latest patches. Please let us know if this fixes the bug you have been experiencing or if you have any follow up questions. Thank you again!

    – Brook

    #1117060
    George
    Participant

    Indeed! The new version is out; let us know if it helps!
    George

    #1117189
    Robert Staddon
    Participant

    The latest release has effectively solved this problem. Thanks!

    #1117225
    George
    Participant

    Excellent! 😀

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Overriding tickets.php in a child theme breaks ticket fields’ is closed to new replies.