WooCommerce Tickets/Calendar Pro: I can not get tickets to add to cart

Home Forums Ticket Products Event Tickets Plus WooCommerce Tickets/Calendar Pro: I can not get tickets to add to cart

Viewing 15 posts - 1 through 15 (of 40 total)
  • Author
    Posts
  • #930096
    Shawn Ellsworth
    Participant

    Mayor’s Breakfast

    This stopped working today after updating WooCommerce Core.
    When I set quantity and add to cart it will not add to cart.

    I am able to add to cart for regular products (as in non Calendar Pro tickets items).
    Cart displayed fine with other item.

    #930155
    Brian
    Keymaster

    Hi,

    Sorry for the issues you are having. I can help troubleshoot this with you.

    I took a look at your site and see what you mean.

    It could be caused from a conflict. Can you please follow our testing for conflicts guide:

    https://theeventscalendar.com/knowledgebase/testing-for-conflicts/

    And see if that helps narrow down the issue.

    Let me know what you find out and we can go from there.

    Thanks

    #930236
    Shawn Ellsworth
    Participant

    I did everything you said and I still have issues.
    When I removed “The Events Calendar” plugin it worked. So I put that back and it broke. All the other plugins had no impact on it working.

    #930359
    Brian
    Keymaster

    How strange.

    So can you verify you turned off all plugins except The Events Calendar, The Events Calendar Pro, WooCommerce Tickets, and WooCommerce.

    And you also changed themes and you were still not able to add tickets to the cart from an event?

    I also noticed both your theme and WordPress are loading jQuery. That could be the issue for this as loading jQuery twice tends to break things.

    You can remove these two:
    <script type=”text/javascript” src=”https://www.miltonchamber.ca/wp-content/themes/mcc2014/js/jquery-1.9.1.min.js”></script&gt;
    <script type=”text/javascript” src=”https://www.miltonchamber.ca/wp-content/themes/mcc2014/js/jquery-migrate-1.1.1.min.js”></script&gt;

    But then you have to load these two scripts after WordPress loads the latest version of jQuery:
    <script type=”text/javascript” src=”https://www.miltonchamber.ca/wp-content/themes/mcc2014/js/jquery.flexslider.js”></script&gt;
    <script type=”text/javascript” src=”https://www.miltonchamber.ca/wp-content/themes/mcc2014/js/custom.js”></script&gt;

    It is best in WordPress to use wp_enqueue_script to load scripts in WordPress as well to reduce conflicts like this.

    http://codex.wordpress.org/Function_Reference/wp_enqueue_script

    Let me know what you find out and we can go from there.

    Thanks

    #930360
    Shawn Ellsworth
    Participant

    I will look into the javascript implementation. Remember this was working fine until I updated your plugin.

    I can confirm:

    1) I turned off all plugins except The Events Calendar, The Events Calendar Pro, WooCommerce Tickets, and WooCommerce.

    2) I changed themes to 2015 and was still not able to add tickets to the cart from an event

    3) When I turned off The Events Calendar the cart worked fine. Plus, no ticket products work fine.

    #930391
    Shawn Ellsworth
    Participant

    I changed the jquery implementation. Still not working.

    #930396
    Shawn Ellsworth
    Participant

    I tried wp_enqueue_script and I removed that js and it had no impact on the functionality.

    #930450
    Brian
    Keymaster

    Ok this is strange not sure what is unique about your site that is causing the issue.

    So lets try some debugging to see if we can find out where the problem is coming from.

    Debug
    Can you please follow the section of the WordPress Codex Debug titled “Example wp-config.php for Debugging” on this page:

    http://codex.wordpress.org/Debugging_in_WordPress

    Please add that coding to your wp-config.php file.

    After that please turn on debug mode in the Events Calendar.

    Go to Events->Settings and in the Miscellaneous Settings at the bottom of the General Tab Please Click on Debug Mode and Save.

    Please try to add tickets a couple times and then if you can send in your next reply the information in the debug.log in the wp-content directory.

    Also, please send me the information in the System Information box under Events->Help.

    You can make those both private replies.

    Also, please let me know if you have any custom templates or coding for either the Events Calendar or for WooCommerce and if you have any caching.

    Thanks

    #930487
    Shawn Ellsworth
    Participant

    1) I have set debug for both WP and your plugin.

    2a) For woocommerce we only brought over custom themes for email.

    2b) We have custom templates folder for /tribe-events in our theme. Just minor changes to the default-template.php page

    #930488
    Shawn Ellsworth
    Participant

    This reply is private.

    #930493
    Shawn Ellsworth
    Participant

    I installed DEBUG BAR, but I can’t find any logs.

    #930494
    Brian
    Keymaster

    This reply is private.

    #930495
    Shawn Ellsworth
    Participant

    This reply is private.

    #930500
    Brian
    Keymaster

    This reply is private.

    #930515
    Shawn Ellsworth
    Participant

    This reply is private.

Viewing 15 posts - 1 through 15 (of 40 total)
  • The topic ‘WooCommerce Tickets/Calendar Pro: I can not get tickets to add to cart’ is closed to new replies.