Revisiting the need to instantiate initial quantity of 0, then allow return to 0 after increasing quantity, noted peculiar issue.
In the https://theeventscalendar.com/knowledgebase/handling-ticket-quantities/#dl_file-set-ticket-default-php thread, this snippet is called out:
woocommerce_quantity_input( array(
'input_name' => 'quantity_' . $ticket->ID,
'input_value' => 0,
'min_value' => 0,
'max_value' => $max_quantity,
) );
The snippet allows setting the initial quantity to “0”, but does not allow the quantity to return to “0” after being increased to any other integer (see here: http://www.screencast.com/t/zFuRmUZMjn)
However, setting ‘min_value’ to “-1” allows quantity to set to “0” and “-1”.
Is there a workaround?