I am currently developing a subscription app and have created metafields for the product. When an order is placed, these metafield values are displayed on the order details page.
Since the metafields contain multiple values and URLs, I would like to hide or remove them specifically from the admin order details page.
Is it possible to achieve this through a custom app (using extensions or any other approach)? If so, could you please suggest the best way to implement this?
Hello , The Shopify admin (order details page) is not customizable via theme or app code
Metafields shown there are controlled by Shopify
Even with Admin API or Functions you cannot hide specific metafields
Best Possible Approaches
Use Admin UI Extension
You can’t remove metafields, but you can override the experience
Build an Admin UI Extension that:
Displays a clean version of the data
Hides unnecessary JSON/URLs
Shows only formatted values (e.g., parsed data)
2. Store Data in Line Item Properties Instead
Instead of metafields:
Use line item properties (during add to cart)
Why better:
They show in orders more cleanly
You control formatting
No messy JSON display
3. Use Metaobjects Instead of Metafields
Better structure:
Hi @Jubins Use the actual deveoper forums for development issues.
DRASTICALLY better experience for those that will put in the bare minimum effort.
If they aren’t meant to be part of the order don’t use order metafields.
If they are metafield-definitions use the pinned property.
If they are not meant to be viewed by the merchant use app metafields (private)
Otherwise they are meant to be accessed by the merchant because: IT IS THE MERCHANTS DATA , not yours .