WordPress remove quantity field from shop page

i implemented on my e-commerce the variations choose in shop page in the content-product.php remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 );
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
remove_action( 'woocommerce_single_product_summary', 'woocommerce_quantity_input', 30 );
/*remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart_quantity', 30 );*/
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 );
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_sharing', 50 );
do_action( 'woocommerce_single_product_summary' );
?>

i wont to remove quantity selector from home page how can i remove?remove_action?

Read more here: WordPress remove quantity field from shop page

Leave a Reply

Your email address will not be published. Required fields are marked *