Title: Product specific role based quantity
Last modified: August 21, 2016

---

# Product specific role based quantity

 *  Resolved [khaleesi88](https://wordpress.org/support/users/khaleesi88/)
 * (@khaleesi88)
 * [12 years ago](https://wordpress.org/support/topic/product-specific-role-based-quantity/)
 * Hi,
 * In the latest version (2.1.2) it’s possible to define User Roles for a Quantity
   Rule. This is exactly what I needed, so thank you for adding the feature!
 * However, I would like to be able to define User Roles also when not using a predefined
   Quantity Rule. When editing a product, there is a “Product Quantity Rules” area,
   with “Override Quantity Rules with Values Below” option. Under that option I 
   can set Step Value, Minimum Quantity, and Maximum Quantity. Would it be possible
   to add User Roles also under that option?
 * Thank you,
    Khaleesi
 * [https://wordpress.org/plugins/woocommerce-incremental-product-quantities/](https://wordpress.org/plugins/woocommerce-incremental-product-quantities/)

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

 *  [J. Tyler Wiest](https://wordpress.org/support/users/jtwiest/)
 * (@jtwiest)
 * [12 years ago](https://wordpress.org/support/topic/product-specific-role-based-quantity/#post-4854249)
 * Khaleesi,
 * Thanks for using the plugin. Your right that the plugin does not support roles
   definitions on a per product basis. While it is possible to add that functionality
   to the plugin, I’m not sure the time required would be worth the benefit provided.
   Have you tried making more specific rules and using those?
 * If you need this for a specific project, we do offer additional support here:
   [http://wpbackoffice.com/contact/](http://wpbackoffice.com/contact/)
 * Thanks,
 *  Thread Starter [khaleesi88](https://wordpress.org/support/users/khaleesi88/)
 * (@khaleesi88)
 * [12 years ago](https://wordpress.org/support/topic/product-specific-role-based-quantity/#post-4854306)
 * > Have you tried making more specific rules and using those?
 * The problem with making specific rules is that they require either using the 
   Product Categories or Product Tags. In our web page, both of those fields will
   be shown in our product pages. We do not want to make phantom categories or tags
   that are only used for the purpose of quantity rules, as these categories/tags
   would be visible in the product page. And we can not use real categories/tags
   because there are products with same categories/tags that do not have the same
   quantity rules.
 * I can think of a couple of different solutions to the problem:
    1) Adding a list
   of all products to the page where you add a new quantity rule, and you could 
   check only the products that would use the rule (would apply only if at least
   one product is selected) 2) Save/Use rule feature: When adding a new quantity
   rule, you could save the rule under a name of your choice. Then in the product
   page instead of using “Override Quantity Rules with Values Below” you could use“
   Use a predefined quantity rule” and choose the saved rule from a list.
 * Perhaps one of those options would benefit other users as well?
 *  [J. Tyler Wiest](https://wordpress.org/support/users/jtwiest/)
 * (@jtwiest)
 * [12 years ago](https://wordpress.org/support/topic/product-specific-role-based-quantity/#post-4854309)
 * Hm, you have some interesting ideas. I had considered the first when originally
   writing this plugin and didn’t think it would scale very well. For people with
   over a couple hundred products, checking them off would be cumbersome. This is
   why I implemented rules with overrides.
 * Your second idea however works with the structure of the plugin and would even
   allow the user to import rules into their products just like they would with 
   a manual override.
 * There is going to be a new release coming out soon and I’ll see what it takes
   to add this in on the following release.
 * Thanks,

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

The topic ‘Product specific role based quantity’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-incremental-product-quantities.
   svg)
 * [WooCommerce Advanced Product Quantities](https://wordpress.org/plugins/woocommerce-incremental-product-quantities/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-incremental-product-quantities/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-incremental-product-quantities/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-incremental-product-quantities/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-incremental-product-quantities/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-incremental-product-quantities/reviews/)

## Tags

 * [product](https://wordpress.org/support/topic-tag/product/)
 * [quantity](https://wordpress.org/support/topic-tag/quantity/)
 * [role](https://wordpress.org/support/topic-tag/role/)

 * 3 replies
 * 2 participants
 * Last reply from: [J. Tyler Wiest](https://wordpress.org/support/users/jtwiest/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/product-specific-role-based-quantity/#post-4854309)
 * Status: resolved