Click Add Tickets Cart remains empty

Home Forums Ticket Products Event Tickets Plus Click Add Tickets Cart remains empty

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #932052
    obr
    Participant

    http://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.

    #932076
    Barry
    Member

    How 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!

    #932089
    obr
    Participant

    My apologies, I did not, I just did and it worked. Any suggestions?

    #932169
    obr
    Participant

    Can you suggest where to look further into this, was working this fall but has since stopped.

    #932172
    obr
    Participant

    I 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

    #932276
    obr
    Participant

    unistalled version 3.9 and installed 3.8 and seems to be working now. Thoughts?

    #932277
    Barry
    Member

    OK, 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?

    #932280
    obr
    Participant
    #932293
    Barry
    Member

    OK. 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.

    #932939
    obr
    Participant

    This reply is private.

    #932999
    Barry
    Member

    So 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 🙂

    #938788
    Barry
    Member

    Hi! 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!

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Click Add Tickets Cart remains empty’ is closed to new replies.