Remove Quantity selection from category page

This topic has 2 replies, 2 voices, and was last updated 2 years, 7 months ago ago by Rose Tyler

  • Avatar: cloudtechltd
    cloudtechltd
    Participant
    September 3, 2021 at 10:22

    Hi

    How to remove quantity selection from the product category page, on the single page i have removed it by using the following code:

    function custom_remove_all_quantity_fields( $return, $product ) {return true;}
    add_filter( ‘woocommerce_is_sold_individually’,’custom_remove_all_quantity_fields’, 10, 2 );

    Also how to style the product design on the category page.

    Thank You

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 3, 2021 at 12:10

    Hello,

    Theme Options > WooCommerce > Shop > Products style > Add To Cart With Quantity > Off

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

The issue related to '‘Remove Quantity selection from category page’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.