We are experiencing an issue where the stock displayed for certain ticket variations is incorrectly showing as 99, even though the actual stock level in both the WooCommerce product settings and in the eventson data is set to 40.
After some debugging, I found that in the function get_all_variation_types_dataset(), the following code seems to override the correct stock value with 99 when the item is already in the cart (/wp-content/plugins/eventon-ticket-variations-options/includes/class-event-variations_options.php, line 484) :
$variations[$v_id][‘stock’] = 99;
So when I activate “Show remaining tickets” in “Configure Event Ticket Settings”, the frontend says “99 Tickets remaining”. It looks to be coming from this hardcoding value.
Jul 16,2025 AT 7:19AM - 1 hour ago -Hello,
Please update Tickets add-on to 2.4.17.
Can we access wp-admin, so I can re-create the issue on our test site.
Please send us wp-admin access to your site from “Access Info” box on right side menu, to further assist your situation.