Create Required Metafields
You can read more about metafields here: link
Step
Login to your Shopify store, click to Settings
Click to Custom data and select Products
Add 3 metafields as follow:
- Size chart
- External/Affiliate
- Countdown timer
1. Size chart
Name: Size chart
Namespace and key: custom.size_chart
Content type: Multi-line text
2. External/Affiliate
Step Create Metaobjects
Login to your Shopify store, click to Settings
Click to Custom data --> Metaobjects and Click Add definition
Add metaobject definition with 2 fields as bellow:
- Name: External/Affiliate product
- Field 1:
* Type: URL
* Name: External Link
- Field 2:
* Type: Single line text
* Name: Button Text
Step Create Metafields
Back to Custom data -> Metafields -> Products
Add a metafield as bellow:
- Name: External/Affiliate
- Type: Mixed reference
- Validation: External/Affiliate
- Namespace and key: custom.external_affiliate
Setup metafield for a product and you can see the result.
3. Countdown timer
Name: Countdown timer
Namespace and key: custom.countdown_timer
Content type: Date and time
Last updated