Home › Forums › Ticket Products › Event Tickets Plus › Tickets not reducing on some events
- This topic has 10 replies, 4 voices, and was last updated 9 years, 4 months ago by
Jon.
-
AuthorPosts
-
November 8, 2016 at 6:15 am #1189051
Jon
ParticipantHi Guys
Felling really let down here as there is a bug with the plugin which you are aware of and this bug is costing me a lot of un billed time!
I first raised a ticket around a month ago here https://theeventscalendar.com/support/forums/topic/tickets-not-reducing-on-some-events/ about the ticket totals not reducing. This is causing events to become over booked.
This is not only bad for the venue, it is also bad on me as the client gets frustrated and on top of this I am having to check in on the site daily to try and resolve this things. This is becoming extremely costly in time to which I do not have. So far replies about this have been that you are aware of the issue but as of yet we do not have an ETA for this bug to be fixed.
Any news yet???
Feeling somewhat let down down by choosing your premium plugins due to this. I came here for your plugins as WooCommerce had recommended them for the ticket functionality as I am sure many others have too.
Cheers
November 8, 2016 at 10:11 pm #1189473Geoff B.
MemberGood evening Jon and welcome back!
Thank you for reaching out to us.
I am sorry to hear that this bug is costing you so much time and inconvenience it is causing.
I would love to help you with this topic.I totally understand your frustration and let down. In fact, I would feel the same way in your position.
I have read your previous thread as well as the bug ticket progress since your ticket was opened. I have a couple of follow-up questions and recommendations to help solve this for you.
But before we start, in full disclosure, this specific bug seems to only be impacting a handful of users for some unknown reason.
Please rest assured that we do take this very seriously regardless of the amount of users it impacts. It simply means that we might need to work harder at truly identifying the cause on your install.
With that in mind, can you tell me if you have since upgraded to the latest version of our plugins ?
In fact, could you please provide us with your complete system information in a private reply using the instructions found in the following link?
https://theeventscalendar.com/knowledgebase/sharing-sys-info/
This will allow me to try to replicate your current environment which would help with the troubleshooting.
Would you mind taking a look at the following link in case that helps ? https://docs.woocommerce.com/document/paypal-standard/#section-9
Could you also tell me if you have any kind of auto-complete orders setting in place ?
Finally
Could you please send me a copy of the latest version of your WordPress theme / child theme via a link to a .zip file link (stored Dropbox or Google Drive) so that I can run some tests on my end ? I recommend a private reply for that purpose.
Please ensure you are using the latest files as found on your actual website.
This way I will get access to any updates or customizations you might have made.Hang in there as we investigate this deeper together.
Best regards,
Geoff B.
November 17, 2016 at 4:55 am #1193778Jon
ParticipantThis reply is private.
November 17, 2016 at 9:04 pm #1194322Geoff B.
MemberHey Jon,
Thank you for this.
I went ahead and installed both your theme and Child theme on my test server.
I can confirm that, unfortunately, this issue is caused by a customization in your theme.I have reason to believe that this is caused by the auto-complete aspect of your WooCommerce customization.
Historically, many of the auto-complete plugins and code snippets have had that very effect: not reducing stock in the same way it would if the order had been set to “Complete” manually.
The only snippet that is rock solid for this is: https://docs.woocommerce.com/document/automatically-complete-orders/
If you unhook your auto-complete code and replace it with the following, I think you would be good to go.
Let me know how that goes.
Best regards,
Geoff B.November 18, 2016 at 3:32 am #1194368Jon
ParticipantHi Geoff
This does not help at all! In my reply I said that any customizations done to Woo are placed in the /lib/woocommerce-custom.php file.
In that file you can see that I AM using that code snippet as I read in this forum about using that. Please see the screen grab attached.
Am still at a loss here and yesterday the client was not happy again as an event had over booked. I have checked through all my work and can not see anything that can effect the total amount of places from displaying incorrectly or causes an issue letting events to over book.
The only other code that could maybe be effecting this is some code that I was advised to use in this forum. Code added was because when a visitor went to an event they could book the event without entering their details, obviously this was not ideal as we could not collect the attendees details so I was advised to set the min qty to 1 so that the attendee info option was loaded straight away. This code is in the same file and it is this (advised to use in this forum).
// Adjust product qty to 1 by default so we can collect attendees name add_filter( 'woocommerce_quantity_input_args', 'wph_woocommerce_quantity_input_args', 10, 2 ); function wph_woocommerce_quantity_input_args( $args, $product ) { if ( is_singular( 'product' ) ) { $args['input_value'] = 1; // Starting value (we only want to affect product pages, not cart) } $args['max_value'] = 10; // Maximum value $args['min_value'] = 1; // Minimum value $args['step'] = 1; // Quantity steps return $args; } // Variations add_filter( 'woocommerce_available_variation', 'wph_woocommerce_available_variation' ); function wph_woocommerce_available_variation( $args ) { $args['max_qty'] = 10; // Maximum value (variations) $args['min_qty'] = 1; // Minimum value (variations) return $args; }I really do need to get this wrapped up as it is causing a nightmare. If it is something I have in my work then fair enough, but I can not see anything relating to this function.
Cheers
November 18, 2016 at 11:40 pm #1194806Geoff B.
MemberHey Jon,
First off, I want to apologize for this.
I was really certain that my hunch would have paid off and help resolve this quickly.I will know better from now on. This is totally my bad. I realize this is really not good timing with an unhappy client to boot.
Thank you for taking the time to dig a bit deeper into this. I will do the same.
What is certain is that something in the theme is causing this.So I went ahead and literally emptied the woocommerce-custom.php file.
The bug immediately disappeared.The next thing I did is only remove the function you suspected was the culprit and once again, the quantity decreased properly.
I realize this was initially put in place to prevent users from booking without entering their details. However, if you make the details fields (attendee additional info) mandatory, that could also work (unless I am missing something).
If that does not cut it for you, I will try to find another snippet for you. But short term, I believe removing that snippet and making the additional fields mandatory should help.
Let me know how that goes.
Best regards,
Geoff B.November 19, 2016 at 3:55 am #1194824Jon
ParticipantHi Geoff
OK thanks for the update. Am testing this now to see how it all goes. I know in the past visitors were able to purchase a ticket without selecting an amount of tickets they wanted even with the option checked to make that mandatory.
Maybe that was addressed in a past update I am unsure but will keep you posted on how it goes.
Have a great weekend!
Cheers
November 20, 2016 at 5:10 am #1195075Jon
ParticipantHi
OK been testing this for the last 24 hours and there is still no change 🙁
Would it help if I clone the site on the same server so that we have a staging site to test things from?Cheers
November 21, 2016 at 10:30 am #1195410Geoff B.
MemberThis reply is private.
December 13, 2016 at 8:35 am #1205281Support 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 ‘Tickets not reducing on some events’ is closed to new replies.
