Title: Dependant variables
Last modified: August 31, 2016

---

# Dependant variables

 *  [homasjay](https://wordpress.org/support/users/homasjay/)
 * (@homasjay)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/dependant-variables/)
 * Hi there,
 * I’m not sure if this just isn’t possible with woocommerce, or if I’m just doing
   something wrong.
 * Is it possible to hide a variable based on a previous selection? For example,
   I want customers to be able to select:
    1. Size of print (A1, A2, etc) 2. Finish(
   Matte, Gloss) 3. Mounting (Foam, MDF, no mounting) 4. Fixtures (velcro, nail 
   hanging, no fixtures)
 * But I only want the fixtures to be selectable if a mounting has been selected.
   If “no mounting” has been selected then I want to the hide fixtures drop down,
   or at the very least, only show “no fixtures” in the fixtures drop down.
 * Currently if “no mounting” is selected, it’s still showing “Velcro”, even though
   I’ve only created a variable for when “foam” is selected.. Why?
 * I’ve tried creating a variable that’s:
    All sizes, all finishes, no mounting,
   velcro, and then set that as disabled, but it still shows in the list. Clicking
   on it gives an “undefined” error and the page needs to be reloaded before selecting
   anything else.
 * Hope someone can help!
 * Also, is there any way to hide each dropdown box until the one above it has been
   selected? I’m guessing that might be a theme thing.
 * [http://www.lightonomy.co.uk/product/lisbon-alley/](http://www.lightonomy.co.uk/product/lisbon-alley/)
 * Thanks,
    Tom.
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)
 * _[ [No bumping please](http://codex.wordpress.org/Forum_Welcome#No_Bumping). ]_

The topic ‘Dependant variables’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [dependant](https://wordpress.org/support/topic-tag/dependant/)
 * [variable](https://wordpress.org/support/topic-tag/variable/)

 * 0 replies
 * 1 participant
 * Last reply from: [homasjay](https://wordpress.org/support/users/homasjay/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/dependant-variables/)
 * Status: not resolved