Home › Forums › Ticket Products › Event Tickets Plus › Why only one Event’s tickets in the cart at a time?
- This topic has 8 replies, 2 voices, and was last updated 9 years, 1 month ago by Barry.
-
AuthorPosts
-
February 19, 2015 at 8:09 pm #943852VictoriaParticipant
For some reason, we can’t add tickets for more than one event to the cart. Every time we add another event ticket to the cart, the previous event’s ticket disappears.
Ex. Add ticket for Feb 21st event. Cart shows ticket for Feb 21st event. Then we add ticket for Feb 24th evert. Cart only shows ticket for Feb 24th event.
Is there a setting to allow multiple events in cart or something?
February 19, 2015 at 8:11 pm #943853VictoriaParticipantErrr…sorry…this should probably be in the WooTickets forum :0
February 19, 2015 at 8:50 pm #943858VictoriaParticipantThis reply is private.
February 20, 2015 at 7:35 am #943927BarryMemberHi Raymond,
I’m sorry for the inconvenience: this definitely looks like a failing on our end. If you feel comfortable doing so, can you try adding the following snippet to your theme’s functions.php file and see if that helps in the interim?
/** * Moves the add-to-cart functionality to a later point in the request (ie, * after the existing cart contents have been populated). */ function wootix_rehook_add_to_cart() { $wootickets = TribeWooTickets::get_instance(); $callback = array( $wootickets, 'process_front_end_tickets_form' ); // Switch to a later action remove_action( 'wp_loaded', $callback ); add_action( 'wp_loaded', $callback, 50 ); } // Apply fix if this snippet is running within a (mu-)plugin file if ( ! did_action( 'plugins_loaded' ) ) { add_action( 'plugins_loaded', 'wootix_rehook_add_to_cart', 50 ); } // Also apply fix if this snippet is embedded directly in a theme functions.php file elseif ( class_exists( 'TribeWooTickets' ) ) { wootix_rehook_add_to_cart(); }
February 20, 2015 at 8:14 am #943944VictoriaParticipantIt works! Fast and easy fix. Thanks! 🙂
I’m guessing this will be fixed in the next release?
February 20, 2015 at 9:55 am #943973BarryMemberBarring any unforeseen problems, yes, we’ll definitely get a substantive fix out as quickly as we can 🙂
February 20, 2015 at 4:31 pm #944056BarryMemberWe have now released WooCommerce Tickets 3.9.2 (it should be visible as an available update with your plugin admin screen shortly) and that ought to address this. Once you’ve updated, please remove the temporary fix.
Thanks again for drawing this to our attention 🙂
February 25, 2015 at 8:20 pm #944793VictoriaParticipantSorry for the lag, but I saw the update when it was released, removed the fix, updated….and it’s working perfectly. Thanks for the fast turnaround!…and great support 🙂
February 27, 2015 at 6:37 pm #945271BarryMemberAwesome – glad we could help and our apologies once more for both the bug itself and for the slight lag in acknowledging your feedback (we’re currently on a team retreat and so haven’t had as much time as normal to check in and update threads with customers like yourself).
In any case, I’ll go ahead and close out this thread but of course if we can help with anything else that might crop up please don’t hesitate to create new threads as needed – thanks again!
-
AuthorPosts
- The topic ‘Why only one Event’s tickets in the cart at a time?’ is closed to new replies.