Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
function prefix_reset_table_quantity( $args, $product ) {
$args['input_value'] = 1;
return $args;
}
add_filter( 'woocommerce_quantity_input_args', 'prefix_reset_table_quantity', 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment