Home › Forums › Ticket Products › Event Tickets Plus › Click Add Tickets Cart remains empty
- This topic has 11 replies, 2 voices, and was last updated 11 years, 3 months ago by
Barry.
-
AuthorPosts
-
January 13, 2015 at 8:28 am #932052
obr
Participanthttp://stlouisbbqsociety.com/event/slbs-judges-certification-class-3/
I have removed all plugin and still have the same issue. When you click on a ticket and increase to any amount then click add to cart I get “Your cart is currently empty.” I have added a test virtual product and tried to add the test product and it does work.
January 13, 2015 at 8:46 am #932076Barry
MemberHow odd.
Just for the avoidance of any doubt, when running through our standard troubleshooting steps did you also switch to a default theme such as Twenty Fourteen?
Can I also ask if you are using/have recently used a caching plugin?
Thanks!
January 13, 2015 at 9:05 am #932089obr
ParticipantMy apologies, I did not, I just did and it worked. Any suggestions?
January 13, 2015 at 11:03 am #932169obr
ParticipantCan you suggest where to look further into this, was working this fall but has since stopped.
January 13, 2015 at 11:09 am #932172obr
ParticipantI went back to my DEV side an it is running 3.5 while production is 3.9 other than that there are not changes? Any idea?S
January 13, 2015 at 12:23 pm #932276obr
Participantunistalled version 3.9 and installed 3.8 and seems to be working now. Thoughts?
January 13, 2015 at 12:23 pm #932277Barry
MemberOK, so it sounds like this problem only occurs with your particular theme and the latest version of WooCommerce Tickets, is that accurate?
Which theme are you using? Does it have any facilities/features for better integration with WooCommerce and could those be getting in the way?
January 13, 2015 at 12:28 pm #932280obr
ParticipantThinking the same thing. Theme is Avada http://themeforest.net/item/avada-responsive-multipurpose-theme/2833226
January 13, 2015 at 12:57 pm #932293Barry
MemberOK. Can you share a copy of that theme so we can take a peak and see what’s happening?
If you upload it to Dropbox, some similar service or even your WP site and share the link as a private reply that would be great.
January 14, 2015 at 1:32 pm #932939obr
ParticipantThis reply is private.
January 14, 2015 at 4:36 pm #932999Barry
MemberSo WooCommerce has a couple of scripts it sets up – wc-add-to-cart-variation and wc-single-product – which Avada then removes and replaces with some scripts of its own (this happens within its avada_scripts() function, found in the main functions.php file within the theme).
For some reason the replacement scripts are interfering in the add to cart process that otherwise works as expected. I’m not entirely sure why they need to replace WooCommerce’s own scripts in this manner, but perhaps you could contact their support team and ask if:
A) Doing this is really necessary?
B) If it’s not necessary, do they have a snippet to restore the original WooCommerce versions of those scripts?Whether they answer yes or no to the first question, if they can give you a snippet in response to the second question we could always help you to apply it selectively to single event pages, something like this:
add_action( 'wp_enqueue_scripts', 'resolve_avada_wootickets_issue', 100 ); function resolve_avada_wootickets_issue() { // Don't apply the fix on non-event pages if ( ! tribe_is_event() ) return; // ... insert their snippet here, or insert a call // to a function that contains their snippet, ie: // avada_woo_script_fix(); }Hopefully they can fill in the missing piece of the puzzle here and complete the solution 🙂
January 29, 2015 at 6:54 am #938788Barry
MemberHi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!
-
AuthorPosts
- The topic ‘Click Add Tickets Cart remains empty’ is closed to new replies.
