> For the complete documentation index, see [llms.txt](https://nextsky.gitbook.io/purity-theme/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nextsky.gitbook.io/purity-theme/theme-installation/create-required-metafields/metafields/compare-items.md).

# Compare Items

{% embed url="<https://www.youtube.com/watch?index=3&list=PLRGKV-NM5soQw4CE7nLVPheG1BQEbNH5B&v=MZVZE2k3uaM>" %}

{% hint style="success" %}

* Name: **Compare Items**
* Namespace and key: **custom.compare\_items**
* Type: **Product - List of products**
  {% endhint %}

<figure><img src="https://1059363070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRcDJSoM26kdEZlVFekVW%2Fuploads%2FeCjKQFB1MaRSm21SH7nF%2Fimage.png?alt=media&amp;token=13e38411-01c3-4059-95d6-342299486c71" alt=""><figcaption></figcaption></figure>

**In product setting:**

<figure><img src="https://1059363070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRcDJSoM26kdEZlVFekVW%2Fuploads%2FeHyxjeTfrYQbSbYJ2VA9%2Fimage.png?alt=media&amp;token=313da6ff-91b0-4933-ad15-1050e29162c6" alt=""><figcaption></figcaption></figure>

**Result:**

<figure><img src="https://1059363070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRcDJSoM26kdEZlVFekVW%2Fuploads%2FM6q9VTtRiDKi15OevnWi%2Fimage.png?alt=media&amp;token=3b4716d2-b08f-428a-ace3-5e75c7857998" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Choosing the metafield (version 1.3.0)**

The **Compare products section** reads this content through its **Compare items metafield** setting. The default key is `custom.compare_items`.

* Keep the default key above and it works with no extra setup.
* Or rename it: create the metafield under your own `namespace.key` (for example, your brand name), then set **Compare items metafield** to match.
* Reuse on one page: create one metafield per copy (for example `custom.compare_items` and `custom.compare_items_2`) and point each **Compare items metafield** at its own key to show different content.

See [How to setup Metafield in version 1.3.0?](/purity-theme/theme-installation/create-required-metafields/how-to-setup-metafield-in-version-1.3.0.md) for details.
{% endhint %}
