Product sizing
Step Create Metaobjects
- Login to your Shopify store, click to Settings
- Click to Custom data --> Metaobjects and Click Add definition
- Add metaobject definition with 3 fields as bellow:
- Name: Product sizing
- Field 1:
* Name: Name
* Type: Single line text - One value
- Field 2:
* Name: Label
* Type: Single line text - One value
- Field 3:
* Name: Active
* Type: True or false - One value
-
Back to Custom data -> Metafields -> Products
-
Add a metafield as bellow:
- Name: Product sizing
- Type: List of entries - Metaobjects
- Reference: Product sizing- Namespace and key: custom.product_sizing
-
Setup metafield for a product and you can see the result
Choosing the metafield (version 1.3.0)
The Product sizing block reads this content through its Product sizing metafield setting. The default key is custom.product_sizing.
- Keep the default key above and it works with no extra setup.
- Or rename it: create the metafield under your own
namespace.key(for example, your brand name), then set Product sizing metafield to match. - Reuse on one page: create one metafield per copy (for example
custom.product_sizingandcustom.product_sizing_2) and point each Product sizing metafield at its own key to show different content.
See How to setup Metafield in version 1.3.0? for details.
No comments yet