Custom product placement
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: Custom product placement
- Field 1:
* Name: Text
* Type: Single line text - One value
- Field 2:
* Name: Image
* Type: Image - One value
- Field 3:
* Name: Product
* Type: Product - One value
-
Back to Custom data -> Metafields -> Products
-
Add a metafield as bellow:
- Name: Custom product placement
- Type: List of entries - Metaobjects
- Reference: Custom product placement- Namespace and key: custom.product_placement
-
Setup metafield for a product and you can see the result
No comments yet