Home › Forums › Ticket Products › Event Tickets Plus › Event Tickets Not Adding To Cart
- This topic has 7 replies, 4 voices, and was last updated 9 years, 7 months ago by
Peter.
-
AuthorPosts
-
August 31, 2016 at 12:32 pm #1158436
Peter
ParticipantI recently have run into the problem with adding event tickets to the cart.
If you visit: http://cdc.sebodev.com/event/home-buyer-education/2016-09-10/
Right now, when I add to cart, it says cart is empty. No errors are thrown in console either.Here is what I’ve done:
1. Update wordpress to 4.6
2. Update all Event calendar plugins to latest versions
3. Refreshed permalinks
4. Deactivated all plugins except tickets/calendar (problem still persists)
5. Deactivated themes, used wordpress’s sixteen theme (problem still persists)If I create a sample woocommerce product, I can add to cart no problem.
Any ideas or suggestions?
September 1, 2016 at 6:33 am #1158712Josh
ParticipantHey Peter,
Thanks for reaching out to us!
I tested this on my local install but was unable to replicate the issue here.
Looking at the front-end of your site, I notice that the form doesn’t have a “quantity” field associated with it so there aren’t any tickets selected to be added to the cart whenever someone clicks the button there. Are there customizations that were made to that particular part of the site?
Also, there could also be an issue here with this being a recurring event and potentially the original ticket being out of tickets to be able to sell for the event. However, I think this is less likely because you should see some notice in regards to being out of stock there.
Let me know if this helps.
Thanks!
September 1, 2016 at 10:37 am #1158920Peter
ParticipantHi Josh,
I have made some modifications to the child theme functions.php file, but even when I activate sixteen theme, it still has issues. I may have modified theme/plugin files to suit the client’s request – I can’t recall.The client was requesting that quantity be disabled and set to “1” and I found another thread with a snippet that did that.
Any thoughts or would you suggest I deactivate/uninstall events calendar and tickets and reinstall them and start over?
September 2, 2016 at 7:08 am #1159240Josh
ParticipantHey Peter,
Ah, that does make sense. What I would suggest here then would be to reinstall fresh versions of the plugins onto your site to see if this is the root of the issue here. From there we can help to get the customizations you’re looking for on the quantity done in a way that will work for your site and implemented in a way that you don’t have to worry about updates messing them up in the future.
Thanks!
September 6, 2016 at 10:31 am #1160526Peter
ParticipantGreat! I will certainly do that.
Here are three things I need to customize and need your guidance on.
1. I need to change any words relating to “events” or “tickets” to be “registration”
2. I need ticket quantity to be fixed to 1 (one).
3. I need emails to have “registration” instead of “tickets/events”Preferably adding snippets to the child-theme function file rather than the plugin files would be ideal.
I’ve found some snippets here and there throughout the forums and posts, but that is what led to this current problem.
Thanks much!
September 8, 2016 at 8:07 am #1161505Josh
ParticipantHey Peter,
Sounds good!
To perform these customizations:
- Follow this Knowledgebase article for modifying the default “events” terminology and add those snippets to your theme’s functions.php file.
- You can follow the Themer’s Guide to copy the tickets.php file from the Events Tickets Plus src > views folder into your theme and set the value there. For example, if you’re using WooCommerce, you would copy the events-tickets-plus > src > views > wootickets > tickets.php file into your theme following the structure defined in the Themer’s Guide and change the “min_value” on line #61 to be “1”.
- Refer to #1 above. Should help in both scenarios.
let me know if this helps.
Thanks!
September 30, 2016 at 9:35 am #1171060Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Event Tickets Not Adding To Cart’ is closed to new replies.
