Home › Forums › Ticket Products › Event Tickets Plus › WooCommerce Tickets/Calendar Pro: I can not get tickets to add to cart
- This topic has 39 replies, 5 voices, and was last updated 9 years, 3 months ago by Brian.
-
AuthorPosts
-
January 7, 2015 at 1:48 pm #930096Shawn EllsworthParticipant
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.January 7, 2015 at 4:06 pm #930155BrianKeymasterHi,
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
January 7, 2015 at 8:25 pm #930236Shawn EllsworthParticipantI 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.January 8, 2015 at 5:09 am #930359BrianKeymasterHow 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>
<script type=”text/javascript” src=”https://www.miltonchamber.ca/wp-content/themes/mcc2014/js/jquery-migrate-1.1.1.min.js”></script>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>
<script type=”text/javascript” src=”https://www.miltonchamber.ca/wp-content/themes/mcc2014/js/custom.js”></script>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
January 8, 2015 at 5:12 am #930360Shawn EllsworthParticipantI 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.
January 8, 2015 at 5:40 am #930391Shawn EllsworthParticipantI changed the jquery implementation. Still not working.
January 8, 2015 at 5:46 am #930396Shawn EllsworthParticipantI tried wp_enqueue_script and I removed that js and it had no impact on the functionality.
January 8, 2015 at 7:59 am #930450BrianKeymasterOk 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
January 8, 2015 at 9:23 am #930487Shawn EllsworthParticipant1) 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
January 8, 2015 at 9:24 am #930488Shawn EllsworthParticipantThis reply is private.
January 8, 2015 at 9:33 am #930493Shawn EllsworthParticipantI installed DEBUG BAR, but I can’t find any logs.
January 8, 2015 at 9:34 am #930494BrianKeymasterThis reply is private.
January 8, 2015 at 9:35 am #930495Shawn EllsworthParticipantThis reply is private.
January 8, 2015 at 9:44 am #930500BrianKeymasterThis reply is private.
January 8, 2015 at 10:34 am #930515Shawn EllsworthParticipantThis reply is private.
-
AuthorPosts
- The topic ‘WooCommerce Tickets/Calendar Pro: I can not get tickets to add to cart’ is closed to new replies.