Reply 347215 to: Template does not show quantity box in woocommerce product

Avatar: Rose Tyler
Rose Tyler
Support staff
February 16, 2023 at 17:05

Hello, Cristian Rodriguez,

We added the next custom snippet to your child-theme/functions.php because the WooCommerce plugin in the latest update made input hidden if it is available for 1 purchase only https://prnt.sc/Qlx7JEQf-wEa

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

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.