Title: Exclude attribute on specific variation
Last modified: November 10, 2021

---

# Exclude attribute on specific variation

 *  Resolved [kinigakos](https://wordpress.org/support/users/kinigakos/)
 * (@kinigakos)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/exclude-attribute-on-specific-variation/)
 * Hi, I want to hide some attributes on specific variations.
 * Let’s say i have the following attributes: Printing Position , Printing technique,
   CM2, Colors.
 * You can see here [https://ibb.co/qjV3Z75](https://ibb.co/qjV3Z75) that i have
   a variation with all attributes selected and a variation with all attributes 
   selected except “Colors” because this variation doesn’t have “Colors”.
 * Is there a way to hide or remove attribute “Colors” from this variation? “Any
   Colors” would not work for me, because this variation doesn’t have “Colors” at
   all.
 * I’ve tried many conditional fields plugins but without success.

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

 *  [MayKato](https://wordpress.org/support/users/maykato/)
 * (@maykato)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/exclude-attribute-on-specific-variation/#post-15055260)
 * Hello,
 * Have you checked out [Composite Products](https://woocommerce.com/products/composite-products/)
   and/or [Gravity Forms](https://www.gravityforms.com/) + [Gravity Forms Product Add-ons](https://woocommerce.com/products/gravity-forms-add-ons/)?
 * These plugins use conditional logic to show/hide variations and fields.
 *  Thread Starter [kinigakos](https://wordpress.org/support/users/kinigakos/)
 * (@kinigakos)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/exclude-attribute-on-specific-variation/#post-15057477)
 * Unfortunately, I can’t do this with a plugin because I’m importing my products
   and the import plugin doesn’t support these plugins or any other during the import.
   Also, there is a huge number of products in my site (20k)…
 *  [Margaret S. woo-hc](https://wordpress.org/support/users/margaretwporg/)
 * (@margaretwporg)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/exclude-attribute-on-specific-variation/#post-15060477)
 * Hi [@kinigakos](https://wordpress.org/support/users/kinigakos/)
 * In that case you might want to get custom code help for this. For assistance 
   with customization or development with your site, we recommend reaching out to
   someone on our [customizations page](https://woocommerce.com/customizations/).
 *  [Margaret S. woo-hc](https://wordpress.org/support/users/margaretwporg/)
 * (@margaretwporg)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/exclude-attribute-on-specific-variation/#post-15083390)
 * Hi,
 * It’s been a while since we heard from you, so I’m marking this thread resolved.
   Hopefully, you’ve been able to resolve this, but if you haven’t, please open 
   up a new topic and we’ll be happy to help out.
 * Cheers

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

The topic ‘Exclude attribute on specific variation’ 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

 * [attributes](https://wordpress.org/support/topic-tag/attributes/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [variations](https://wordpress.org/support/topic-tag/variations/)

 * 4 replies
 * 3 participants
 * Last reply from: [Margaret S. woo-hc](https://wordpress.org/support/users/margaretwporg/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/exclude-attribute-on-specific-variation/#post-15083390)
 * Status: resolved