WP SITES

3098 Coded Tutorials & 300 Plugins

How to Hide Specific Variation Attributes Per Product from the Shop Page in WooCommerce

If you’re using variable products in WooCommerce, there are times when you may want to hide certain attribute options from the shop and archive pages, while still keeping them available on the single product page.

With the premium plugin Variation Buttons Pro for WooCommerce, you can do this on a per-product, per-attribute basis using a combination of global and per-product settings.

You can get the required plugin here:
Variation Buttons Pro for WooCommerce

1. Enable Variation Buttons on the Shop Page

First, make sure variation buttons are enabled on the shop page globally:

  1. In your WordPress dashboard, go to:
    WooCommerce > Variation Buttons > Shop
  2. Enable “Enable on Shop Page” so that variation buttons appear on product archive/shop pages.
  3. (Optional) Adjust any other shop page settings you need, such as button style, image options, or hover effects.

Once this is enabled, variation buttons will appear on the shop page for your variable products and can be controlled per product.

2. Edit the Product and Configure Attributes

Next, configure the attributes for the specific product where you want to hide an attribute on the shop page:

  1. Edit the variable product in Products > All Products and click Edit.
  2. In the Product data panel, go to the Attributes tab.
  3. Add or edit your product attributes (e.g. Color, Size) and make sure:
  • Used for variations is checked for any attribute you use in variations.
  • Variations are already set up under the Variations tab.

Variation Buttons Pro will use these attributes to render buttons on both single and shop pages.

3. Hide a Specific Attribute from the Shop Page (Per Product)

Once the global shop setting is enabled, you can hide individual attributes for a specific product directly in the Attributes tab:

  1. In the same product edit screen, stay on the Attributes tab.
  2. For each attribute row (e.g. Color, Size), underneath “Visible on the product page” and “Used for variations”, you will see a checkbox:
    “Hide from shop page”
  3. Check “Hide from shop page” for any attribute you do not want to appear on the shop/archive pages for this product.
  4. Click the “Save attributes” button.
  5. Finally, click the main “Update” button to save the product.

After saving, those attributes will:

  • Still be available and selectable on the single product page.
  • Be hidden from the shop/category/archive pages, so customers won’t see or interact with those attribute options there.

4. Combine Global and Per-Product Control

Here’s how the control works in practice:

  • The global “Enable on Shop Page” setting (under WooCommerce > Variation Buttons > Shop) decides whether variation buttons appear on shop/archive pages at all.
  • The per-product “Hide from shop page” checkbox (on each attribute in the Attributes tab) lets you hide only specific attributes for that particular product.

This gives you flexible control. For example:

  • Show Color and Size on the shop page for most products.
  • For a special product, hide Size on the shop page by checking “Hide from shop page” only on the Size attribute.

5. Summary

To hide specific variation attributes per product from the WooCommerce shop page:

  1. Install and activate Variation Buttons Pro for WooCommerce:
    Get Variation Buttons Pro for WooCommerce
  2. Globally enable variation buttons on the shop page in:
    WooCommerce > Variation Buttons > Shop > Enable on Shop Page
  3. Edit your variable product and go to the Attributes tab.
  4. For any attribute you want hidden on the shop page, check:
    “Hide from shop page”
  5. Click Save attributes, then Update the product.

That’s all you need to selectively hide attributes on shop/archive pages while keeping them active on single product pages.

Was this helpful?

Yes
No
Thanks for your feedback!

Leave a Reply