> For the complete documentation index, see [llms.txt](https://lezada.docs.hasthemes.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lezada.docs.hasthemes.com/product/product-metafield-for-online-store-2.0/affiliate-link-add.md).

# Affiliate link add

* To create a metafield follow the instructions -&#x20;

{% content-ref url="/pages/-MhCXSm0xeX5rHTjAfsg" %}
[How to create metafield](/product/product-metafield-for-online-store-2.0/how-to-create-metafield.md)
{% endcontent-ref %}

## Affiliate link add instead of the "Add To Cart" button

![](/files/-Mhg8MTfTo3etCPuFObg)

## Metafield Setup

* **Metafield name: &#x20;*****Product Affiliate Link***
* **Namespace and key:**  `meta.product_affiliate_link`

```
meta.product_affiliate_link
```

![](/files/-Mhg9dCEin2p-VAUM-us)

### Add Affiliate link for a specific product <a href="#add-youtube-video-id-for-a-specific-product" id="add-youtube-video-id-for-a-specific-product"></a>

![](/files/-Mhg9qcjaZS3U6nKKMoe)
