Home › Forums › Ticket Products › Event Tickets Plus › tribe_events_count_available_tickets() returning wrong count
- This topic has 7 replies, 3 voices, and was last updated 6 years, 7 months ago by Florian.
-
AuthorPosts
-
June 27, 2017 at 7:10 am #1308511FlorianParticipant
Hi guys!
The function tribe_events_count_available_tickets() is returning the wrong number when using a global stock count.
Let’s say we set the global stock to 5 and have two different tickets. Then this function returns 10 (5 for every ticket – which is somehow correct…). But since customers can only buy 5 tickets max the real count should be also 5.
Or am I missing something?
Thanks
FlorianJune 29, 2017 at 12:17 am #1311332JenniferKeymasterHi Florian,
I just tested this out and got the same result…I believe you are correct – the count should be 5. I’m going to run this by our developers, see what they think, and get back to you. Thanks for letting us know about this!
Jennifer
June 30, 2017 at 10:04 am #1314648JenniferKeymasterFlorian,
We were able to verify that this is a bug, and I’ve logged an internal ticket for it. We do also have some upcoming changes planned that should improve stock handling in general. I don’t have a timeline as to when the fix will be released, but I’ve linked this thread to our internal ticket. You’ll be notified here as soon as we have an update.
Thanks again for reporting this, and please let me know if you have any other questions!
Jennifer
June 30, 2017 at 10:13 am #1314651FlorianParticipantHi Jennifer,
Thanks a lot! Great support! As always… 🙂
Best
FlorianJuly 5, 2017 at 2:13 pm #1316477JenniferKeymasterHappy to help!
September 7, 2017 at 10:05 am #1346148NicoMemberHey,
A new maintenance release has been recently shipped addressing this issue 🙂
More information in the release notes and hotfix notes.
Please update the plugins and let us know if the fix works for you,
Best,
NicoSeptember 29, 2017 at 9:36 am #1356826Support DroidKeymasterHey 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 ‘tribe_events_count_available_tickets() returning wrong count’ is closed to new replies.