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.