WooCommerce Product Attribute Filter for Size
A WooCommerce product attribute filter narrows products by a value such as size, color, or material. This fashion demo uses the Size attribute. Choose Size S to find products assigned that term, then compare the result with the separate variation-aware demo.
Try this: Choose Size S to see only pieces available in small.
How this demo is configured
- Create a filter by Size (product attribute pa_size). Show as Checkboxes. Sort terms by Term ID (ascending).
Showing 37–38 of 38 results
-
Sale
Add to cart
Uniqlo Smart Ankle Pants
Original price was: $39.90.$29.90Current price is: $29.90. -
Sale
Add to cart
Uniqlo U Blocktech Parka
Original price was: $79.90.$59.90Current price is: $59.90.
What an attribute filter matches
The filter uses the product taxonomy, in this case Size. When a shopper selects Size S, the query returns products assigned that term. Choose a checklist, radio control, or dropdown to fit the number of options.
When product attributes are useful
Use attributes for product characteristics shoppers compare across items. Size fits apparel; color and material help shoppers compare clothing and accessories. Keep each global attribute name consistent across your catalog.
Add a size attribute filter
- Go to Filter Sets → Add New and select Products for Content to filter.
- Add a filter row named Size and set a unique URL keyword.
- Choose Category/Attribute (taxonomy) under What are you filtering?, then select the size taxonomy under Choose taxonomy.
- Pick a control under How shoppers choose and save the set.
- Test one known size term and verify the result list against products assigned that attribute.