Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

disable quantity field in woocommerce

add_filter( 'woocommerce_is_sold_individually', 'my_remove_quantity_fields', 10, 2 );
function my_remove_quantity_fields( $return, $product ) {
    return true;
}
Source by removewcfeatures.com #
 
PREVIOUS NEXT
Tagged: #disable #quantity #field #woocommerce
ADD COMMENT
Topic
Name
2+1 =