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 1–12 of 38 results
-
Select options This product has multiple variants. The options may be chosen on the product page
Alder All-Weather Jacket
Price range: $149.00 through $164.00 -
Read more
Arc'teryx Beta LT Jacket
$450.00 -
Add to cart
Carhartt WIP Detroit Jacket
$268.00 -
Read more
Carhartt WIP Double Knee Pant
$148.00 -
Read more
Carhartt WIP Essentials Bag
$59.00 -
Read more
Carhartt WIP Madison Cord Shirt
$118.00 -
Read more
COS A-Line Midi Dress
$135.00 -
Sale
Read more
COS Cashmere Sweater
Original price was: $225.00.$180.00Current price is: $180.00. -
Add to cart
COS Knitted Midi Dress
$175.00 -
Add to cart
COS Oversized Poplin Shirt
$89.00 -
Add to cart
COS Quilted Crossbody Bag
$99.00 -
Add to cart
COS Wide-Leg Trousers
$135.00
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.