Skip to main content

Filtering products by Metaobject values

In this article, we will show you how to set up your filters with the metaobject values

Thomas Ta avatar
Written by Thomas Ta
Updated this week

πŸ“– Use Shopify Metaobjects to store structured data that standard product fields don’t cover. You can attach detailed features, specs, size charts, and material information directly to products.

Since March 2023, you can create and manage basic metaobjects in Shopify admin. For more complex models or automation, you may need capabilities beyond the built‑in tools.


Prepare Your Metaobject in Shopify

  1. Go to your Shopify Admin.

  2. Navigate to Settings > Metafields and metaobjects.

  3. Add your definitions and define its fields and structure (e.g., sustainability certifications, material details).

πŸ”— For detailed instructions on creating Metafields, refer to Shopify’s Metaobjects documentation.


Add product Metaobject to the app's admin

πŸ’‘ Check our Pricing plan to find out how many Metaobjects you can add to your store.

1. From our app’s admin, go to Settings > Metafields & Metaobjects.

2. Click Add new.

3. Click Select source and find the desired Product metaobject you'd like to add to Boost app.

4. In the Applies to section:

Select Filter option if you want to create a filter option by Metaobject.

⚠️ Our Filter Option feature is optimized to work seamlessly with 13 field types. If you have an existing field of a different type, consider creating a new field specifically for filtering purposes.

Field

Shopify

Our app

Date and time

Date and time

❌

βœ…

Date

❌

βœ…

Measurement

Dimension

❌

βœ…

Volume

❌

βœ…

Weight

❌

βœ…

Number

Decimal

βœ…

βœ…

Integer

βœ…

βœ…

Text

Multi-line text

❌

❌

Rich text

❌

❌

Single line text

βœ…

βœ…

Reference

Company

❌

❌

Customer

❌

❌

Product

❌

❌

Collection

❌

❌

Product variant

❌

❌

File

❌

βœ…

(apply to swatch only)

Metaobject

❌

❌

Page

❌

❌

Other

True or false

βœ…

βœ…

Color

❌

βœ…

(apply to swatch only)

ID

❌

βœ…

Rating

❌

βœ…

URL

❌

❌

Money

❌

βœ…

Link

❌

❌

Advanced

JSON

❌

❌

Mixed reference

❌

❌

5. Click Save and wait about 3 minutes to let the sync process complete.

6. [Optional] When you encounter an error message that says β€œInvalid metafields found” or β€œIncorrect information or metafield not found in products”:

  • The products with the corresponding Metafields might have been deleted.

  • When you have choosed in the correct namespace, you can connect that Metafield/Metaobject to your theme to display specialized information on your storefront. Then you refresh the Metafields and Metaobjects page from our app’s admin to check if the error message disappears.


Create a filter for Metaobject values

  1. From the app’s admin, go to Filter > Filter trees.

  2. Click the filter tree that you want to set up a filter for the Metaobject values.

  3. Click Add filter option.

  4. In the drop-down of Option Type, select the phrase that starts with "Metaobject-" and shows the namespace and the key of the Metaobject you want to use its values.

In the example of selling global-shipping clothes, the phrase that you must select in the drop-down of Option Type looks like the following:

πŸ’‘ When you cannot find the Metaobject you have added to the app's admin in the drop-down of Option Type:

  • You might not have added the Metaobject successfully to the app's admin due to Invalid metaobjects found or Incorrect information or metaobject not found in products errors.

  • You might not have selected the Filter option in the Applies to section when adding the Metaobject to the app's admin.

5. Fill in how you want the filter to appear on your storefront under the Option label heading.

6. Customize other settings to your liking.

7. Click Save on the Edit filter option page.

8. Click Save on the Filter options page.


Feel free to reach out to our dedicated support team via chat if you have any questions or require additional assistance.

Did this answer your question?