Create Required Metafields

You can read more about metafields here: link

Step

  1. Login to your Shopify store, click to Settings

  2. Click to Custom data and select Products

  3. 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

  1. Login to your Shopify store, click to Settings

  2. Click to Custom data --> Metaobjects and Click Add definition

  3. 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

  1. Back to Custom data -> Metafields -> Products

  2. Add a metafield as bellow:

    - Name: External/Affiliate

    - Type: Mixed reference

    - Validation: External/Affiliate

    - Namespace and key: custom.external_affiliate

  3. 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