# Add Dynamic Content

## GUIDELINE VIDEO

{% hint style="info" %}
This function is only available for **TEXT LABEL/BADGE**
{% endhint %}

{% embed url="<https://www.youtube.com/watch?v=qOxhsr4z750>" %}

## DETAILED DOCS

* First, on your app dashboard, click on "Create label":

<figure><img src="https://2681927162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2MNif3OucL2KXUvJtdd3%2Fuploads%2FdcCvffHX7lRsIL1V0qgh%2Fimage.png?alt=media&#x26;token=91bf736f-8133-40c5-8332-11f290d615fa" alt=""><figcaption></figcaption></figure>

* Then, you will see this screen, please choose "Text label":

<figure><img src="https://2681927162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2MNif3OucL2KXUvJtdd3%2Fuploads%2F8OQIZyRNjEid7YxFOwMy%2Fimage.png?alt=media&#x26;token=829c1774-8cfd-40f1-9ae4-ebbd0e87cf37" alt=""><figcaption></figcaption></figure>

* After that, click on "Add discount" button, then choose 1 of your preffered&#x20;

<figure><img src="https://2681927162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2MNif3OucL2KXUvJtdd3%2Fuploads%2FkCQCYcm8lnPx73Dl2cmG%2Fimage.png?alt=media&#x26;token=aa28b922-b47a-474b-af5d-09f0170f63a3" alt=""><figcaption></figcaption></figure>

<details>

<summary>This feature will base on your available settings in your Shopify Admin to automatically calculate and display dynamic values of your products</summary>

</details>

{% hint style="info" %}
5 types of variables:&#x20;
{% endhint %}

<figure><img src="https://2681927162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2MNif3OucL2KXUvJtdd3%2Fuploads%2FGWEBt3kdT8sY6vanRxZQ%2Fimage.png?alt=media&#x26;token=9c2ff322-6a31-4a7a-a559-c39d485af807" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="136">Types</th><th align="center">Code </th><th>Usage</th><th>Example</th><th data-hidden></th></tr></thead><tbody><tr><td><strong>Discount %</strong></td><td align="center">SAVE {SAVE_PERCENT}%</td><td>It will use this formula<strong>: </strong><mark style="background-color:green;"><strong>[(Compare-at price - price)/ compare-at price]*100</strong></mark> in your Shopify admin to automatically display the sale percentage</td><td><ul><li>Price: $399</li><li>Compare-at price: $499</li></ul><p>-> Formula: <mark style="background-color:orange;"><strong>[(499-399)/499]*100</strong></mark> </p><p>-> The sale percentage displayed on label: SAVE 20%</p></td><td></td></tr><tr><td><strong>Discount amount</strong></td><td align="center">SAVE {SAVE_AMOUNT} NOW</td><td>It will use this formula:  <mark style="background-color:green;"><strong>(Compare-at price - Price)</strong></mark> in Shopify admin to automatically display the sale amount</td><td><ul><li>Price: $350</li><li>Compare-at price: $560</li></ul><p>-> Result: SAVE 210 NOW</p></td><td></td></tr><tr><td><strong>Price</strong></td><td align="center">ONLY {PRICE}$</td><td>It will <mark style="background-color:green;"><strong>base on the Price of your products</strong></mark> to display on your label</td><td><ul><li>Price: $350</li></ul><p>-> Result: ONLY 350$</p></td><td></td></tr><tr><td><strong>Day release</strong></td><td align="center">NEW IN {NEW_FOR}</td><td>It will <mark style="background-color:green;"><strong>base on the publish date of your products</strong></mark> to automatically calculate how many days left to display on your label</td><td><ul><li>The created date: July 1, 2024</li><li>The current date: July 10, 2024<br><br>-> Result: NEW IN 10<br></li></ul></td><td></td></tr><tr><td><strong>Remaining stock</strong></td><td align="center">ONLY {STOCK} LEFT</td><td>It will <mark style="background-color:green;"><strong>base on the total of available stock in Inventory</strong></mark> to automatically display on your label</td><td><ul><li>Available: 19 </li></ul><p>-> Result: ONLY 19 LEFT</p></td><td></td></tr></tbody></table>

**NOTE:**&#x20;

1\. If you want your text will be in another lines: Insert \</br> into the text box&#x20;

2\. All content in the text box should be written in 1 line, please don't press "enter" on your keyboard

3\. This mark " is a special character, instead of using it, please use this mark '
