Title: Request Feature: Default Quality
Last modified: October 28, 2016

---

# Request Feature: Default Quality

 *  Resolved [deathbybots](https://wordpress.org/support/users/deathbybots/)
 * (@deathbybots)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/request-feature-default-quality/)
 * Hello,
 * I would like to request a feature be added to the free version on this plug in.
   I need to have the default quantity of this plugin to only allow the quantity
   of the the quote to be defaulted to allow one.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/request-feature-default-quality/#post-8468092)
 * Hi,
    the free version of plugin haven’t this feature. You can try add this code
   in the file functions pf your theme:
 *     ```
       // Quantity in the cart Simple products 
       add_filter( 'woocommerce_quantity_input_args', 'custom_woocommerce_quantity_input_args', 10, 2 );
   
       function custom_woocommerce_quantity_input_args( $args, $product ) { 
       if ( is_singular( 'product' ) ) { 
       $args['input_value'] = 1;	// Starting value (we only want to affect product pages, not cart) 
       } 
       $args['max_value'] = 1; // Maximum value 
       $args['min_value'] = 1; // Minimum value 
       $args['step'] = 1; // Quantity steps 
       return $args; 
       }
   
       // Variations 
       add_filter( 'woocommerce_available_variation', 'custom_woocommerce_available_variation' );
   
       function custom_woocommerce_available_variation( $args ) { 
       $args['max_qty'] = 1; // Maximum value (variations) 
       $args['min_qty'] = 1; // Minimum value (variations) 
       return $args; 
       }
       ```
   
 *  Thread Starter [deathbybots](https://wordpress.org/support/users/deathbybots/)
 * (@deathbybots)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/request-feature-default-quality/#post-8469165)
 * Thank you

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Request Feature: Default Quality’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-request-a-quote/assets/icon-128x128.gif?
   rev=3234570)
 * [YITH Request a Quote for WooCommerce](https://wordpress.org/plugins/yith-woocommerce-request-a-quote/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-request-a-quote/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-request-a-quote/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-request-a-quote/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-request-a-quote/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-request-a-quote/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [deathbybots](https://wordpress.org/support/users/deathbybots/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/request-feature-default-quality/#post-8469165)
 * Status: resolved