WordPress – Custom quantity input step based on WooCommerce product category
I have been trying to get decimal quantities to work in WooCommerce, and I am at a loss for why it's not working. My plugin code (see below) successfully allows the inputs to be decimals in 0.5 increments as expected…