Title: Conditionals rule groups
Last modified: September 1, 2020

---

# Conditionals rule groups

 *  Resolved [ozil23](https://wordpress.org/support/users/ozil23/)
 * (@ozil23)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/conditionals-rule-groups/)
 * So i have a furniture website with the following variations
 * material – wool , linen , naples
    colours – red ,blue , black , silver , brown,
   white and many more extra options – no drawers , 2 drawers
 * some material dont have all colours like
    wool – red , white linen – red , blue,
   black and many more naples – silver
 * Is that possible to do with this plugin and how?

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/conditionals-rule-groups/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/conditionals-rule-groups/page/2/?output_format=md)

 *  Plugin Author [Wombat Plugins](https://wordpress.org/support/users/maartenbelmans/)
 * (@maartenbelmans)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/conditionals-rule-groups/#post-13344155)
 * Hi [@ozil23](https://wordpress.org/support/users/ozil23/)
 * What you’re describing here seems to be default WooCommerce variations logic,
   so I’m not sure why you’d need our plugin? 🙂
 *  Thread Starter [ozil23](https://wordpress.org/support/users/ozil23/)
 * (@ozil23)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/conditionals-rule-groups/#post-13344917)
 * Yes but If I use the default woocommerce variations it would take a forever to
   get all the variations right.
    Also Im already using your plugin with these variations
 * material – wool , linen , naples
    colours – red ,blue , black , silver , brown,
   white and many more extra options – no drawers , 2 drawers
 * some material dont have all colours like
    wool – red , white linen – red , blue,
   black and many more naples – silver
 * Just need to know how can I do this
 *  Plugin Author [Wombat Plugins](https://wordpress.org/support/users/maartenbelmans/)
 * (@maartenbelmans)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/conditionals-rule-groups/#post-13344945)
 * It can be done with conditional rules on the fields.
 * You can create 3 color options (probably select lists) and the correct dropdown
   can appear depending on what “material” is selected.
 *  Thread Starter [ozil23](https://wordpress.org/support/users/ozil23/)
 * (@ozil23)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/conditionals-rule-groups/#post-13349754)
 * So I select the **material ** field then click on the button Add new group rule
   then what do I do?
 *  Plugin Author [Wombat Plugins](https://wordpress.org/support/users/maartenbelmans/)
 * (@maartenbelmans)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/conditionals-rule-groups/#post-13355322)
 * Hi [@ozil23](https://wordpress.org/support/users/ozil23/)
 * If you click “add new rule group”, you see something similar to this: [https://i.snipboard.io/B1HDWP.jpg](https://i.snipboard.io/B1HDWP.jpg)
 * So you can define there WHEN this field should become visible. In the case of
   my screenshot above, this field will only become visible when the user has selected“
   option 1” for “Some field”.
 * So this is how you can show/hide fields depending on settings of other fields.
   So what you can do is: when “materials” value “wool” is selected, the display
   this field. “this field” would then be the dropdown with colors only available
   for the wool material.
 *  Thread Starter [ozil23](https://wordpress.org/support/users/ozil23/)
 * (@ozil23)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/conditionals-rule-groups/#post-13355968)
 * yes I understand that but I think would be easier if I could send my backend 
   login details so you can understand my dilemma
    Can you tell me your email so
   you see for yourself
 *  Plugin Author [Wombat Plugins](https://wordpress.org/support/users/maartenbelmans/)
 * (@maartenbelmans)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/conditionals-rule-groups/#post-13355987)
 * Hi [@ozil23](https://wordpress.org/support/users/ozil23/)
 * I’m sorry, but we can’t help with that kind of support for users of our free 
   version. Thanks for understanding! You can always record a video so we can take
   a look.
 *  Thread Starter [ozil23](https://wordpress.org/support/users/ozil23/)
 * (@ozil23)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/conditionals-rule-groups/#post-13356280)
 * [https://sendvid.com/bga4fqv8](https://sendvid.com/bga4fqv8)
 * some material dont have all colours like
    wool – red , white linen – red , blue,
   black and many more naples – silver
 * Just need to know how can I do this
 *  Thread Starter [ozil23](https://wordpress.org/support/users/ozil23/)
 * (@ozil23)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/conditionals-rule-groups/#post-13371016)
 * So is there any solution even on the pro version of the plugin?
 *  Plugin Author [Wombat Plugins](https://wordpress.org/support/users/maartenbelmans/)
 * (@maartenbelmans)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/conditionals-rule-groups/#post-13371066)
 * Hi [@ozil23](https://wordpress.org/support/users/ozil23/)
 * I’m sorry but the video does not contain audio so I’m not sure what you’re doing
   in it but it looks like you have the correct idea? Just add conditions to display
   the correct “color” field depending on which material is selected. I’m not sure
   where you are stuck or perhaps I am missing something?
 *  Thread Starter [ozil23](https://wordpress.org/support/users/ozil23/)
 * (@ozil23)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/conditionals-rule-groups/#post-13375851)
 * _Just add conditions to display the correct “color” field depending on which 
   material is selected_
 * Im stuck on this part if you could make a video to show how to do it
    -  This reply was modified 5 years, 9 months ago by [ozil23](https://wordpress.org/support/users/ozil23/).
 *  Plugin Author [Wombat Plugins](https://wordpress.org/support/users/maartenbelmans/)
 * (@maartenbelmans)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/conditionals-rule-groups/#post-13375913)
 * But you’ve showed it in your video so it looks like you know what to do. Add 
   a new rule and select for which field + that field’s value it should apply. If
   I make a video, it would just look the same as your video :).
 *  Thread Starter [ozil23](https://wordpress.org/support/users/ozil23/)
 * (@ozil23)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/conditionals-rule-groups/#post-13376949)
 * The fields I have are material and colours
    So I click on the material fields
   and I have the following options wool linen etc Then we have the conditionals
   how do I make the the option wool to show a specific colour?
 * Fields
    [https://prnt.sc/udo3f6](https://prnt.sc/udo3f6)
 * Options
    [https://prnt.sc/udo4e8](https://prnt.sc/udo4e8)
 * Conditionals
    [https://prnt.sc/udo4oh](https://prnt.sc/udo4oh)
 * If you can show me a demo page of the pro version of the plugin that can make
   this happen I dont mind buying the pro version of the plugin
 *  Plugin Author [Wombat Plugins](https://wordpress.org/support/users/maartenbelmans/)
 * (@maartenbelmans)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/conditionals-rule-groups/#post-13383120)
 * Follow these steps:
 * 1) You have to duplicate the “colour” field for every “material” option. There
   is a button which easily allows you to duplicate a field: [https://i.snipboard.io/4onvta.jpg](https://i.snipboard.io/4onvta.jpg)
 * So you duplicate “colour” 5 times. In total you will have 6 “colour” fields (
   one for every “material”).
 * 2) edit all “colour” fields. In the “options” setting of the field, you should
   remove the options that the “material” doesn’t need. So if you are editing the“
   colour” field for “wool”, you remove everything except red & white.
 * 3) In the same color field as in step 2, you now go to “conditions” and add a
   rule. Select there “material” “value is equal to” “wool”.
 * Now this particular “colour” field with only options “red” and “white” will appear
   only when “wool” is selected.
 * Hope this helps.
 *  Thread Starter [ozil23](https://wordpress.org/support/users/ozil23/)
 * (@ozil23)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/conditionals-rule-groups/#post-13386796)
 * Thanks for all the help but ih the future the options should be in the conditionals
   but still it´s a great plugin

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/conditionals-rule-groups/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/conditionals-rule-groups/page/2/?output_format=md)

The topic ‘Conditionals rule groups’ is closed to new replies.

 * ![](https://ps.w.org/advanced-product-fields-for-woocommerce/assets/icon-256x256.
   gif?rev=3347990)
 * [Advanced Product Fields (Product Addons) for WooCommerce](https://wordpress.org/plugins/advanced-product-fields-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-product-fields-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-product-fields-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-product-fields-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-product-fields-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-product-fields-for-woocommerce/reviews/)

 * 16 replies
 * 2 participants
 * Last reply from: [Wombat Plugins](https://wordpress.org/support/users/maartenbelmans/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/conditionals-rule-groups/page/2/#post-13386936)
 * Status: resolved