Filters and Product Attributes: Set Them Up Once, Sell for Years

Your product data is either working for you or against you. When attributes are chosen deliberately and values stay consistent, filters, search, and collections all get better, and you stop redoing the same cleanup every season.

Why attributes are infrastructure, not decoration

Most stores treat product attributes as an afterthought. You add a color, a size, maybe a material, and move on. Then you add filters to a collection page, and half the products disappear when a shopper picks a value. Or a shopper searches for something you sell, and the search bar returns nothing useful because the attribute that matters is buried in a description.

Attributes are the skeleton of your catalogue. They decide what filters can exist, what search can match, how collections can be built, and how easily you can add products later without touching every page. Get them right once and they keep paying off. Get them wrong and every new product, every new collection, and every new sales channel inherits the mess.

The goal is not to capture everything. It is to capture the small set of facts that shoppers actually use to narrow a decision, and to capture them the same way every time.

Choosing attributes: start from the decision, not the product

The temptation is to list every spec you can find on a supplier page. That produces a filter sidebar nobody uses. A better method is to work backwards from how a shopper narrows down. Ask what question they are trying to answer when they reach for a filter. For a clothing store it might be size, color, and fit. For a home goods store it might be room, material, and dimensions. For electronics it might be compatibility and capacity.

A useful test: if a shopper would never say the word out loud while shopping, it is probably not a filter attribute. It might still be worth storing as a metafield for display on the product page, but it does not need to be a filter.

Pick a small core set first. Five to eight attributes is usually enough to cover most narrowing behaviour. You can always add later, but removing an attribute that shoppers rely on is disruptive.

  • Ask: what would a shopper say to narrow this down?
  • Separate filter attributes from display-only specs.
  • Start with a small core set and expand only when you see a real need.
  • Keep the same attribute set across a category so filters do not fragment.

Consistent values: the part that actually breaks

Choosing attributes is the easy part. Keeping values consistent is where most catalogues fall apart. One product is 'Navy', another is 'navy blue', a third is 'Blue - Navy'. To a human these are obviously the same. To a filter, they are three separate values, and the filter sidebar fills with near-duplicates that confuse shoppers and split your results.

The fix is a controlled vocabulary. Before you add products, write down the allowed values for each attribute and stick to them. Decide on capitalisation, decide on spelling, decide whether you use 'Grey' or 'Gray', and decide whether multi-word values use a hyphen or a space. Then treat that list as the source of truth.

This matters more for dropshippers than for brands that make their own products, because supplier data arrives in whatever format the supplier uses. You are the one who has to normalise it. A simple spreadsheet with one column per attribute, and a dropdown of allowed values, prevents most of the drift.

  • Write the allowed values down before you add products.
  • Normalise supplier data on import, not later.
  • Watch for synonyms, casing, and spacing variants.
  • Audit values periodically; duplicates creep in over time.

Tags vs metafields: a conceptual split

Shopify gives you two main places to store attribute data: tags and metafields. They behave differently, and the choice affects what you can do later.

Tags are flat labels attached to a product. They are quick to add, easy to bulk-edit, and useful for grouping and internal organisation. They are also unstructured: a tag is just a string, with no type, no validation, and no notion of an attribute with a set of allowed values. That makes tags good for broad groupings and operational flags, and weak for anything a shopper will filter on precisely.

Metafields are typed fields attached to a product, with a defined namespace, key, and type. A metafield can be a single-line text, a number, a boolean, a date, or a reference to another object. Because the type is defined, the data is more reliable and can be used more precisely by filters, search, and themes. The trade-off is that metafields take a little more setup and are less convenient to edit in bulk without a tool.

A practical rule of thumb: if shoppers will filter or search on it, and the values need to be exact, lean towards metafields. If it is an internal label, a campaign flag, or a loose grouping, tags are fine.

  • Tags: fast, flat, unstructured, good for internal grouping.
  • Metafields: typed, validated, better for shopper-facing filters.
  • Do not use tags as a substitute for a typed attribute you will filter on.
  • You can use both: tags for operations, metafields for the storefront.

Designing values that survive filtering

Even with the right storage, some attribute designs filter badly. A common mistake is to encode multiple values into one field. If a product is available in red, blue, and green, and you store that as a single text value 'Red, Blue, Green', a filter for 'Blue' will not match cleanly. Where a product genuinely has multiple values for the same attribute, use a list-type metafield or separate the values properly, so each one can be matched on its own.

Another trap is mixing units or scales. If some products list dimensions in centimetres and others in inches, a range filter becomes meaningless. Pick one unit for storage and convert on display if needed.

Finally, think about how values will read in a filter sidebar. Very long values, or values that only make sense internally, create a poor experience. Keep shopper-facing values short and human.

Keeping it clean as the catalogue grows

A clean attribute setup is not a one-time job. Every new supplier, every new category, and every bulk import is a chance for drift. The cheapest defence is a short checklist applied at the point of adding products: does this product have a value for each core attribute, and is that value on the allowed list?

It also helps to review your filter sidebars from a shopper's point of view every so often. If you see near-duplicate values, or filters that return very few products, that is a signal to clean up rather than add more.

The payoff compounds. Consistent attributes make filters trustworthy, make collections easier to build, and make search more likely to return the right product. That last point matters more than it used to, because shoppers increasingly type natural-language requests rather than clicking through menus. A search tool can only match on what you have stored. If your attributes are messy, the answer will be messy too. Smart Search AI reads your live Shopify catalogue and answers shopper questions from it, so the quality of your product data directly shapes the quality of those answers.

A short setup sequence

If you are starting from a messy catalogue, do not try to fix everything at once. Pick your best-selling category, define the core attributes and allowed values for it, and clean that category first. Then move to the next.

Once the pattern is set, document it somewhere your future self will find it. A one-page reference of attributes and allowed values saves hours of re-deciding later.

  • List the questions shoppers ask when narrowing down.
  • Choose five to eight core attributes for the category.
  • Write the allowed values and stick to them.
  • Decide tags vs metafields per attribute, based on whether shoppers filter on it.
  • Clean one category at a time, starting with your best sellers.
  • Re-check filter sidebars periodically for duplicates and dead ends.