EC Site Product Filter Design

Flexible product filtering combining custom fields and price ranges

FilterMetafieldShopifyUX
2 min read

About This Project

When browsing an EC site, customers want to quickly find products that suit their needs. For sites with many products, filter functionality greatly affects usability.

In this project, we designed a system that uses Shopify's custom fields (Metafields) to filter products by gender, season, category, price range, and various other conditions.

Challenges

  • Standard Shopify filters can't handle certain items (season, sport type, etc.)
  • Complex filter combinations don't always display results correctly
  • Page loading tends to slow down

Solution

We used Shopify's Metafield feature to assign custom attributes to each product. This allows us to freely add filter items that aren't supported by default.

We also divided filter processing between server and client to maintain performance while handling complex filtering.

Learn More

Architecture

Filter Processing Flow
Customer Selection
Gender: Men's, Season: Spring/Summer, Price: Up to ¥50,000
Send to API
Filter conditions sent to server
Server Processing
Metafield-based filters: Gender, Season, Category
Client Processing
Additional filters: Price range, Size, Stock status
Display Results
Show filtered product list

Technologies Used

  • Shopify Storefront API
  • Shopify Metafield
  • Next.js API Routes
  • Cursor-based pagination

Related Topics