Event Tickets Plus / Poor WPML Support

Home Forums Ticket Products Event Tickets Plus Event Tickets Plus / Poor WPML Support

  • This topic has 3 replies, 2 voices, and was last updated 9 years ago by Tibor.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1269212
    Tibor
    Participant

    Hi,
    I am very confused by the way the WPML support works for your plugin. I’ll just sum up my experience with the whole plugin and its WPML compatibility in couple of points:

    • Personally, I don’t get the point why a ticket has to be tied to a Page/Event. I run a festival, one event only -> no need to have multiple events. I would really appreciate if I could create tickets as WooCommerce products only and not tied to a specific Page/Event.
    • After creating the Page and a ticket, a WooCommerce product is also created, however, it’s URL points to the created Page (which it is linked to) instead.
    • However, when I translate the ticket (the Page it is tied to), there is no more ticket appended to that site
    • So, I translated the ticket (the WooCommorce product) which works okay. However, the URL does not point to the translated page but it is displayed as a standard WooCommerce product instead. I don’t understand. This behavior creates such an inconsistency! I really don’t get the point. So, the ticket (in the default language) cannot be displayed as a standard WooCommerce product as it is somehow tied to its Page/Event. However, the ticket’s translation can only be displayed as a WooCommerce product. Very, very bad.
    • The subject line of the e-mail can’t be translated – string not found by WPML. Please, check that one out.

    Specific example:
    I created a ticket called Super Early Bird: https://gastrofest.bigstep.sk/listky/super-early-bird/
    I designed its page, hid the default Event Ticket design as I don’t like it. I’m using the following code to display the limit set on the ticket:

    
    window.onload = function () { 
        var remaining = tribe_tickets_stock_data.tickets[28235].stock - 1;
        (jQuery)('.cart-body .quantity input.qty').attr({
            "max" : remaining
        });
        var onlyText = (remaining > 0) ? "už len " : '';
        (jQuery)('.tribe-tickets-remaining .only-text').text(onlyText);
        (jQuery)('.tribe-tickets-remaining .available-stock').text(remaining);
        (jQuery)('.cart-body .quantity input.qty').keyup(function() {
            var left = remaining - (jQuery)(this).val();
            onlyText = (left > 0) ? "už len " : '';
            (jQuery)('.tribe-tickets-remaining .only-text').text(onlyText);
            (jQuery)('.tribe-tickets-remaining .available-stock').text(left);
        });
    }
    

    Then I created the translation of this page found at https://gastrofest.bigstep.sk/hu/jegyek/super-early-bird/. However, here my code does not work, since the tribe_tickets_stock_data variable is not set because the ticket is not linked to the translated Page.
    So, for the all the non-default languages I have to use the WooCommerce product pages which are not that well designed due to some limitations regarding the use of Visual Composer there.

    Summa summarum, I am quite frustrated by the means the whole translation works now. It creates inconsistency in my website. Overall, I would be glad if I could use the WooCommerce product template in all language mutations. I would expect to be able to create tickets as sole WooCommerce products without the need of creating a Page, as well.

    #1269631
    Geoff B.
    Member

     

    Good evening Tibor and welcome to the Events Calendar Support forum!

    Thank you for reaching out to us.
    I would love to answer you different points and questions.

    I am very confused by the way the WPML support works for your plugin.

    I would highly recommend reading the following which clarifies what we do and what we don’t support for the moment: https://theeventscalendar.com/knowledgebase/wpml-support/

    Personally, I don’t get the point why a ticket has to be tied to a Page/Event. I run a festival, one event only -> no need to have multiple events. I would really appreciate if I could create tickets as WooCommerce products only and not tied to a specific Page/Event.

    I see your point and how that does not meet your specific situation’s needs. Thankfully, this approach does work for a lot our users.

    Since this could be a cool feature to have and I am pretty sure there are others with similar needs to yours out there, you can suggest it in our User Voice forum. That way other customers can vote for it!

    After creating the Page and a ticket, a WooCommerce product is also created, however, it’s URL points to the created Page (which it is linked to) instead.

    To make a long story short, our plugins are not yet fully compatible with Event Tickets Plus or Event Tickets (as per the first article shared).

     

    This feature is scheduled to be release later this year. Initially we planned for spring, but there might be some pushback.

    In the meantime, you could get it to partially work, but this is unsupported.

    To achieve that, you will need:

    1. WooCommerce multilingual
    2. Some manual intervention

    After creating the ticket AND saving the event, head over to WPML > Support > Troubleshooting page.

    Once you are there, you should see several cleanup buttons. I would recommend:

    1. Clearing WPML cache
    2. Using the button that forces language assignment to items (which is what is creating the issue). This can also be accomplished by deactivating and reactivating WPML.

    Your ticket will now magically appear.

    The only downside is that the tickets you create in other languages are not really translations of the initial ticket. They are completely independent new tickets.

    The subject line of the e-mail can’t be translated – string not found by WPML. Please, check that one out.

    That is very possible, provided the above.

    For now, your best shot will be to do a template customization for that purpose (until the compatibility is ready).

    You might want to read our Themer’s guide to get a sense of how that works.

    Summa summarum, I am quite frustrated by the means the whole translation works now. It creates inconsistency in my website. Overall, I would be glad if I could use the WooCommerce product template in all language mutations. I would expect to be able to create tickets as sole WooCommerce products without the need of creating a Page, as well.

    I certainly understand how that could be frustrating. Hopefully the workaround above could be of some assistance until we release true WPML compatibility and it goes through the full dev cycle.

    That still would not address your second expectation, but hopefully your feature request idea will gain some fast traction!

    As a side note, some of our customers have been successful integrating Event Tickets Plus with Polylang (which is not officially supported), but I thought that would be something you would be interested in.

     

    Best regards,

    Geoff B.

    #1279300
    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 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Event Tickets Plus / Poor WPML Support’ is closed to new replies.