Title: Custom Fields Dependent on Category
Last modified: February 14, 2018

---

# Custom Fields Dependent on Category

 *  [brettins](https://wordpress.org/support/users/brettins/)
 * (@brettins)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/custom-fields-dependent-on-category/)
 * Hi, my client would like to be able to create products where custom fields only
   appear if an item belongs to a category, with multiple levels.
 * Product can be in either Category A or B, not both.
 * If category A, then must pick a selection from dropdown Delta. Drop Delta has
   5 options. Then must pick from dropdown beta.
 * If category B, then must pick from dropdown beta. Dropdown delta never appears
   when creating a product in category B.
 * Depending on the selection from dropdown beta, a similar branching path would
   arise. Option 1 from dropdown beta would open up dropdown theta. Option 2 from
   dropdown beta would open up dropdown zeta.
 * In the end there will be about 5 dropdowns that are modified based on the previous
   selection. Is this something that is possible with your product?

Viewing 1 replies (of 1 total)

 *  [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/custom-fields-dependent-on-category/#post-9978810)
 * Hello brettins,
 * Unfortunately, there is no option to do this in the plugin. However, what you
   could try is using hints to mention that only select this custom field if you
   selected Category A. This will make sure the user only selects that field and
   leaves the other custom fields empty. Then you can select the Option to Hide 
   blank/Empty Fields to “Yes”. This will make sure that once a category is selected
   it will only show the Custom Field in the sidebar that has a value in the products.
   It will basically show you the appropriate custom field everywhere. Just make
   sure the Custom Fields that are not required for a product are left blank.
 * Best regards,

Viewing 1 replies (of 1 total)

The topic ‘Custom Fields Dependent on Category’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-product-catalogue/assets/icon-128x128.png?rev=1805317)
 * [Ultimate Product Catalog](https://wordpress.org/plugins/ultimate-product-catalogue/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-product-catalogue/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-product-catalogue/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-product-catalogue/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-product-catalogue/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-product-catalogue/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/custom-fields-dependent-on-category/#post-9978810)
 * Status: not a support question