Wootickets and WPML

Home Forums Ticket Products Event Tickets Plus Wootickets and WPML

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1041781
    Carlos
    Participant

    I’ve read some threads explaining the same issue, when WPML is installed and products post type is translatable, tickets created with wootickets dissapears after creation. The solution proposed doesn’t seems acceptable to us so we have investigated your plugin, and fixed the issue adding an extra parameter 'suppress_filters' => 1 to the WP_Query on get_tickets_id method. This way get can leave products translatable and the same ticket is used on all event translations.

    I know I’m preventing other plugins to interact with this query, but doesn’t seem an issue for us. What I want to ask is the inclusion of this fix on the official release of wootickets, so we can update the plugin without loosing the fix.

    Thanks in advance

    #1041891
    Brian
    Member

    Hi,

    Thanks for bring this up. It could be a work around for some people.

    What file did you make the change in to do this?

    Thanks

    #1041975
    Carlos
    Participant

    The changes has to be made in Tribe__Events__Tickets__Woo__Main class, /wp-content/plugins/wootickets/src/Tribe/Main.php

    #1042060
    Brian
    Member

    Great, thanks for providing that.

    I will try to do some tests on it and see if we could add a filter there or something as a work around.

    I am going to go ahead and close this ticket, but if you need help on this or something else please post a new ticket.

    Thanks!

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