I’ve added a UPC as a metafield, and it now appears in the product admin section.
I would like to find a specific product in the admin area using its UPC number.
How can I accomplish this?
Issue: A merchant stored a product’s UPC (Universal Product Code) in a Shopify metafield (custom field) and wants to search for the product in the admin by that UPC.
Recommended approach: Use Shopify’s built-in Barcode field to store the UPC. This field is searchable in the Shopify admin. Screenshots were shared showing where to enter the barcode and how to search by it.
If UPC must remain a metafield: Shopify’s admin can’t natively search metafield contents. Workarounds include:
• Export products to CSV (includes metafields) and filter externally.
• Use a third-party app (Ablestar Bulk Product Editor) that supports searching by metafields.
Update/steps with Ablestar: After installing the app, go to Products (or Start a new bulk edit) → Add filter → select the relevant metafield (via the Metafields section or by typing) → choose the match condition (text match, is set, etc.) → Add filter. Then you can open products in Shopify, bulk edit, or export results. A short demo video was provided.
Status: A clear workaround is provided via the Barcode field or the Ablestar app; no native admin-only solution for metafield search.
I’ve added a UPC as a metafield, and it now appears in the product admin section.
I would like to find a specific product in the admin area using its UPC number.
How can I accomplish this?
Hello,
Shopify has a standard ‘Barcode’ field that you can use to store the UPC:
An advantage to using this field instead of a metafield is that you can easily search for it in the Shopify admin:
If, however, you need to store the UPC as a metafield for some reason, there isn’t an easy way to search for metafield contents. The only two things I can think of are:
Unfortunately it doesn’t seem like there’s an easy way to do this just within the Shopify admin
Best,
Daniel
Thank you for your response! I’ve installed Ablestar. Could you please guide me on how to search for metafields directly?
Hi @Benbash ,
You can search by metafields from the product page of the app. To get there you can either click on Start a new bulk edit from the home page of choose the Products option in the left-hand menu.
When you’re on the products page it’ll look similar to the regular products page in the Shopify admin except you have more filters and actions. To filter for products by metafield:
Here’s a short video showing what it looks like:
Once you have the products selected you can either:
I hope this helps, let me know if you have any follow-up questions.
Best,
Daniel