Inventory
đź’Ž Built for Sidekick
⚡ Sidekick does this for you
shopify
sidekick
catalog
metafields
Define New Metafield Definitions for a Product Type
Design and create a set of structured metafield definitions for a product type so specs display consistently and can be used in filters and comparison tables.
đź“‹ Prompt
Design and create a set of metafield definitions for the [PRODUCT_TYPE] product type, so every product of this type can store the same structured spec fields. Fields needed: [FIELD_LIST, e.g. “Material (single line text), Battery Life (number, hours), Water Resistance Rating (single line text from a defined list: IPX4, IPX7, IPX8), Warranty Length (number, months)”]. For each field: Recommend the correct metafield type (single line text, multi-line text, number, list, boolean, reference, etc.) based on how it will be used. Recommend whether it should be required or optional, and whether it needs validation (e.g. a fixed list of allowed values). Recommend the namespace/key naming so it’s consistent with any metafields I already have – ask me to confirm existing namespace conventions if unsure. Show me the full proposed definition list before creating anything. After I approve, create the definitions and scope them to [PRODUCT_TYPE] (or apply via [CONDITION, e.g. “products with product_type = X”]). Confirm each was created successfully.
How to Use
- Copy the prompt above
- Open Shopify Sidekick in your Shopify admin
- Paste the prompt and replace the bracketed placeholders with your details
- Review Sidekick's response and apply the suggestions