Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter backpackingseries

    (@backpackingseries)

    Found a way here to add a snippet:

    function wpse_292293_quantity_input_default( $args, $product ) {
        $args['input_value'] = 5;
    
        return $args;
    }
    add_filter( 'woocommerce_quantity_input_args', 'wpse_292293_quantity_input_default', 10, 2 );
    Thread Starter backpackingseries

    (@backpackingseries)

    Apologies, the snippet does not work if cart page is refreshed – resets the quantity to 5.

    Appreciate any other ideas.

    Kind regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Default qty counter value’ is closed to new replies.