> For the complete documentation index, see [llms.txt](https://nextsky-2.gitbook.io/milano-shopify/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nextsky-2.gitbook.io/milano-shopify/product-page-settings/setup-external-affiliate-product.md).

# Setup External/Affiliate product

<figure><img src="https://1163507529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAGMtjb3mOlhr9pzqKwM0%2Fuploads%2FCw9G3QlUjPlFQm6ZWRoZ%2Fimage.png?alt=media&amp;token=71e38bb3-733e-4535-9255-f1d0408492c3" alt=""><figcaption></figcaption></figure>

External / Affiliate products are not as commonly used as other types of products in Shopify. However, the **Milano** theme supports this special type of product. You may want to redirect customers to other sites that sell the products, and you will need to create external / affiliate products for this purpose. To set up External/Affiliate products, please follow these steps:

{% hint style="success" %}
**Step 1:** Create metafields, please follow this [article](/milano-shopify/get-started/custom-data/create-required-metafields.md).

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:
     * Type: **URL**
     * Name: **External Link**
   * Field 2:
     * Type: **Single line text**
     * Name: **Button Text**
4. Click **Save**
   {% endhint %}

{% hint style="success" %}
**Step 2:** Setup product

1. From your admin, go to **Products** and select the products to setup
2. Scroll down to **Metafields** and click to External/Affiliate
3. Click to **Select entry** and **Create new entry**![](https://1163507529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAGMtjb3mOlhr9pzqKwM0%2Fuploads%2Fe2rUzTSGVnf6MfRKMdtc%2Fimage.png?alt=media\&token=0ab4e6ab-b6af-4f7b-8741-4553ef741b78)
   {% endhint %}

<figure><img src="https://1163507529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAGMtjb3mOlhr9pzqKwM0%2Fuploads%2FBwnxwchoemuro3RiZeg3%2Fimage.png?alt=media&amp;token=0b256c54-4b3b-491c-8ecc-4c36d7ec3e4b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1163507529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAGMtjb3mOlhr9pzqKwM0%2Fuploads%2F5qJUcmBvtdqNYpmWPSYa%2Fimage.png?alt=media&amp;token=5c1573f4-0362-4f00-b0d0-74b3111ffc2b" alt=""><figcaption></figcaption></figure>
