# How to enable Size Chart on product page?

<figure><img src="/files/A5AmfurxBjBHz4OPLlx3" alt=""><figcaption></figcaption></figure>

## How to enable size chart on product page?

* From your Shopify admin, go to **Online Store** -> **Themes**.
* Find the theme that you want to edit, and then click **Customize**.
* Choose **Products** from the dropdown window.
* Click **Product information** -> add **Perks** block (if not already added).

<figure><img src="/files/NxPKnVwvpSA2MJyUjOmV" alt=""><figcaption></figcaption></figure>

* By default, the Block Perk will be added to 3 corresponding functional blocks (Size chart, Color Comparision, Ask An  Expert). You can enable or disable them at will by hiding them if you don't want to use them.

  (In this example, we are setting up a size chart, so we will keep the Size Chart Block)

<figure><img src="/files/5BOm3b8IBRhLel92HIyu" alt=""><figcaption></figcaption></figure>

## There are 2 ways to show the Size chart:

### 1. By Custom Page

* On **Perks** block scroll down to **Size chart** and choose **Size chart type** as **Custom page.**
* At "**Custom page**" select the page that you want to display its content on the size chart popup.

<figure><img src="/files/NnKAN5ZkLBB2iyPQftsC" alt=""><figcaption></figcaption></figure>

### 2. H**ow to add new Metafields?**

1. From your Shopify admin, go to **Settings** -> **Custom data**.
2. Click **Products → Add Definition.**

<figure><img src="/files/9UMNJLuCReWomYWTmjHE" alt=""><figcaption></figcaption></figure>

3. Please enter correct **Namespace and Key** as we noted below.

```
Name: Size Chart
Namespace and key: custom.size_chart
Select content type: Text
```

<figure><img src="/files/m5CJ66erNQLLffRLV064" alt=""><figcaption></figcaption></figure>

### How to insert content for Product Metafields?

1. From your Shopify admin, go to **Products -> All products**.
2. Find and choose the product that you want to edit.
3. In the **Metafields**, please insert image url in the "**Size Chart**" field.

<figure><img src="/files/xkHzDWcYxxCQvVAYxVLT" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
To get the image URL, please upload the image in **Content** **->** **Files**. Then copy the link. You can refer to [this link](https://help.shopify.com/en/manual/shopify-admin/productivity-tools/file-uploads).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://halosoft.gitbook.io/ella-7-documentation/faq-and-troubleshooting/how-to-enable-size-chart-on-product-page.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
