How to Display Swatches in an Accordion Style
If you have a lot of product attributes, using swatches might take up a lot of room on the product page. With WooCommerce Attribute Swatches you can display your attributes in an accordion to neaten things up.
To enable the accordion style on your product pages, take the following steps:
- From your WordPress dashboard, go to WooCommerce > Attribute Swatches and click on the Style tab.

- Once here you’ll see a dropdown next to Enable Accordion. Change this to Yes and click the blue Save Changes button at the bottom of the page.

Your swatches will now be hidden within an accordion on the single product page.

Customers can open each one to select the relevant options as usual.

WooCommerce Attribute Swatches
Replace the default WooCommerce variation dropdown menu with variation swatches for WooCommerce. Add color swatches, image swatches, and modern text buttons to your variable product pages.
Was this helpful?
Please let us know if this article was useful. It is the best way to ensure our documentation is as helpful as possible.