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

- Field 1:

* Name: Button text

* Type: Single line text - One value

- Field 2:

* Name: External link

* Type: Single line text - One value

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.

In product:

  • Add new entry:

Result: Auto change to External/Affiliate button

Comments

No comments yet

Looking for Help?
Get support from our team

If you can't find the answer you're looking for, our support team is here to help.