š As a Shopify merchant, you know how powerful Metafields are. Shopify Metafields allows you to save specialized information not provided by Shopify admin by default, add custom fields to any page or object in your store, and track your customers more efficiently. For instance, you sell second-hand jackets and want to display their condition in percentage values on the storefront. Metafields can help you with that.
From August 2021, Shopify has allowed you to create and manage Metafields in the Shopify admin. You can still use other Metafield apps from the Shopify App Store as they have more advanced features.
In the example of selling second-hand jackets, you want to set up a filter that contains percentage values on the collection page like the following image, and you can do that with our app. As the app allows you to offer thematic filters by creating a ātagā or a āmulti-level tagā filter option, it also lets you create a filter for your Metafieldsā values.
Add product Metafields to the appās admin
To create a filter for your Metafield values on your storefront, the Metafield, containing all those values, must be successfully added to the app's admin. The app can sync values of product Metafields which are created either directly from Shopify or by using an app from the Shopify App Store.
š” Check our Pricing plan to find out how many Metafields you can add to your store.
Steps:
1. From our appās admin, go to Tool > General Settings > Metafields.
2. Click Add metafield and fill in the namespace and the key of the specific Metafield you want the app to sync its values.
In the example of selling second-hand jackets, you have created a product Metafield from Shopify admin as product_field.product_condition, then you fill in the namespace as product_field and the key as product_condition.
3. In the Applies to section:
The Display option is checked by default, meaning the Metafield data will be added to all products.
Select Search if you want the added Metafield to be searchable in Instant Search results.
Select Filter option if you want to create a filter option by Metafield.
Select Sort by option to sort out potential products based on appropriate Metafield data.
ā ļø Our Filter option feature is optimized to work seamlessly with single_line_text_field
metafields type. If you have existing metafields of a different type, consider creating a new single_line_text_field
metafields specifically for filtering purposes.
4. Click Save and wait about 3 minutes to let the sync process complete.
5. [Optional] When you encounter an error message that says āInvalid metafields foundā or āIncorrect information or metafield not found in productsā:
You might have filled in the wrong Metafield's namespace and key.
The products with the corresponding Metafields might have been deleted.
When you have filled in the correct namespace and key, you can connect that Metafield to your theme to display specialized information on your storefront. Then you refresh the Metafields page from our appās admin to check if the error message disappears.
Create a filter for Metafield values
Now you can create a filter for values of the Metafield you have added successfully to Boost AI Search & Discovery database.
Steps:
From the appās admin, go to Filter > Manage filter trees.
Click the filter tree that you want to set up a filter for the Metafield values.
Click Add filter option.
In the drop-down of Option Type, select the phrase that starts with "Metafield-" and shows the namespace and the key of the Metafield 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 Metafield you have added to the app's admin in the drop-down of Option Type:
You might not have added the Metafield successfully to the app's admin due to Invalid metafields found or Incorrect information or metafield not found in products errors.
You might not have selected the Filter option in the Applies to section when adding the Metafield 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.
Please check how the new filter option applies to your storefront.
āIf you have any questions or need further assistance, please do not hesitate to contact our dedicated support team at [email protected].