I want the display price on a collection page to update with a size filter

luke1734
New Member
1 0 0

I am selling a product that has multiple size variants and different prices for all of those variants. As of now, the lowest priced variant displays on a collection page. I have filters that work perfectly for sorting products, by color, style, size, etc, but I am trying to figure out how I can have the price displayed match the price of the size variant selected. If anyone could help I would appreciate it.

0 Likes
gina-gregory
Shopify Expert
710 48 175

Assuming you're just using Shopify's tag-based filters... the only way I can think of is to loop through each product's variants and find the variant that includes the size and use that variant's price.

0 Likes
Nancy_Drake
Trailblazer
162 9 18

Hi @luke1734 

You could try this app Collection Filter & Search Bar as it can return the matching variant with filter by product option (size, color, etc). If a product has 3 variants (S - $10, M - $12, L - $14), filter by M will show the variant at $12 instead of the main product price. 

0 Likes