Title: Omit empty attributes?
Last modified: January 26, 2022

---

# Omit empty attributes?

 *  [timfurnish](https://wordpress.org/support/users/timfurnish/)
 * (@timfurnish)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/omit-empty-attributes/)
 * Is it possible to not show ALL THE POSSIBLE attributes, but only the ones that
   exist? I have a Color attribute and the filter makes space for many empty swatches
   in the system when only a couple exist for the products. I wish it would only
   show the colors that are relevant to the product category. Otherwise it’s a very
   long grid of colors, taking up way too much space.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fomit-empty-attributes%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [themifyme](https://wordpress.org/support/users/themifyme/)
 * (@themifyme)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/omit-empty-attributes/#post-15300183)
 * Hi,
 * Unfortunately the product filter can not pre-filter the colors based on previous
   selections ( eg. Category ), so all colors you added will show up in the filter.

Viewing 1 replies (of 1 total)

The topic ‘Omit empty attributes?’ is closed to new replies.

 * ![](https://ps.w.org/themify-wc-product-filter/assets/icon-128x128.png?rev=1535808)
 * [Themify - WooCommerce Product Filter](https://wordpress.org/plugins/themify-wc-product-filter/)
 * [Support Threads](https://wordpress.org/support/plugin/themify-wc-product-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/themify-wc-product-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/themify-wc-product-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/themify-wc-product-filter/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [themifyme](https://wordpress.org/support/users/themifyme/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/omit-empty-attributes/#post-15300183)
 * Status: not resolved