Filters for your collections
The app fills in the facts shoppers filter by, like material, color and size, from EJD's specs. To show the filters, turn them on once in Shopify's free Search & Discovery app.
Shoppers narrow a collection with filters on the side of the page, like Material: Steel or Volts: 20V. The app fills in the facts behind those filters from EJD's specs, on every EJD product, and keeps them current. You turn the filters on once in Shopify.
Turn the filters on (once)
Shopify only lets you choose which filters show in its own app:
- In Shopify, open the Search & Discovery app (free, from Shopify). Install it if you haven't.
- Select Filters, then Add filter.
- Choose the filters you want, for example Material and Size (they're listed under product metafields, as "specs"), plus Vendor for brand.
- Save. Your theme shows them on collection and search pages within a few minutes.
Shopify allows up to 25 filters. For a hardware store, brand, size, material, color and power source usually matter most.
If no spec filters are listed yet, the app may still be waiting for your OK to fill in product details. See Who owns each product field.
What the app fills in
| Filter | Example |
|---|---|
| Material | Steel, Fiberglass |
| Color | Black, Red |
| Finish | Satin Nickel |
| Indoor or Outdoor | Indoor, Outdoor, Indoor and Outdoor |
| Volts | 120, 20 |
| Size | S, M, L, XL (clothing and gloves only) |
| Color Family | White, Multicolored |
| Shape | Round, Rectangle |
| Power Source | Battery Powered, Plug-In |
| Sheen | Eggshell |
Brand (vendor), product type, availability and price filters come from Shopify itself.
Only values EJD lists are written. A product without that spec simply doesn't show in that filter.
When EJD changes a spec
The next update writes the new value. Each change is listed under What's new > Spec and image changes.
Technical details
Show the exact rules, for the technically minded
- Where they're stored: product metafields in the
specsnamespace, type single line text:specs.material,specs.color,specs.finish,specs.indoor_or_outdoor,specs.volts,specs.size,specs.color_family,specs.shape,specs.power_source,specs.sheen. The namespace is merchant-visible so Search & Discovery can offer them. - Source: EJD's
Bulleted_Descriptionspec text, read field by field. - One spelling per value. "Indoor/Outdoor" and "Indoor or Outdoor" are both written as "Indoor and Outdoor"; "Battery Operated" and "Battery-Powered" as "Battery Powered".
- Left out: values that mean nothing to filter on ("0", "None"), vendor policy text, and values over 100 characters.
- Size is only written for clothing and gloves. Elsewhere EJD's size is a bare number with no unit, which would mislead. A value written before this rule stays until you clear it in Shopify.