Filter Occasion
Step Create Metaobjects
- Login to your Shopify store, click to Settings
- Click to Custom data --> Metaobjects and Click Add definition
- Add metaobject definition with 1 fields as bellow:
- Name: Filter Occasion
- Field 1:
- Name: Occasion label
- Type: Single line text - One value
- Back to Custom data -> Metafields -> Products
- Add a metafield as bellow:
- Name: Filter Occasion
- Type: List of entries - Metaobjects\
- Reference: Filter Occasion
- Namespace and key: custom.filter_occasion
- Setup metafield for a product and you can see the result
No comments yet