Reply 349196 to: remove qty field box with 1 item in stock

Avatar: Rose Tyler
Rose Tyler
Support staff
March 7, 2023 at 13:37

Hello, Mantolis,

As a temporary fix, please add the next code in child-theme/functions.php file:

add_filter('woocommerce_quantity_input_type', function($type) {
    return 'number';
});

and delete this code after the next theme update.

Thank you for your cooperation.

Kind Regards,
8theme team

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.