> For the complete documentation index, see [llms.txt](https://docs.yaycommerce.com/yaycurrency/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yaycommerce.com/yaycurrency/configurations/developer-zone/available-yaycurrency-shortcodes.md).

# Available YayCurrency Shortcodes

1. **Show the currency switcher dropdown: \[yaycurrency-switcher]**

<figure><img src="https://2217518750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_yR1oHovFi42XBPZIi%2Fuploads%2FRipnUULlGU9bqRilalTR%2Fcurrency%20switcher%20dropdown.png?alt=media&amp;token=7b456420-eef1-496d-b872-c36c830c0df5" alt=""><figcaption></figcaption></figure>

2. **Show the currency switcher menu dropdown: \[yaycurrency-menu-item-switcher]** &#x20;

<figure><img src="https://2217518750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_yR1oHovFi42XBPZIi%2Fuploads%2FbTT6ok0OcrgAUDzxQyj3%2Fcurrency%20switcher%20menu%20dropdown.png?alt=media&amp;token=71a7cc8a-84af-470d-bc8e-3858f15c115f" alt=""><figcaption></figcaption></figure>

3. **Get the price html from the original currency to the current currency. params: yaycurrency-price-html]:**&#x20;

* price: Original price that you want to convert.

```
usage: 
[yaycurrency-price-html price="99"]
```

4. **Get the product price html converted from the original currency to the current currency: \[yaycurrency-product-price-html]** --- Support for Single Product pages or Product Archive Loop --- Coming soon.

* product\_id: product ID of the product you want to convert currency.

```
usage: 
[yaycurrency-price-html product_id="399"]
```

5. **Get the price html from the original currency to the current currency: \[yaycurrency-fixed-price-html]** (PRO version only). --- Coming soon.

* price: Original price that you want to convert.
* fixed\_countries: get the fixed price by countries.

**ex:**&#x20;

\*\*\* fixed\_countries='12|SG,15|FR,10|IN,25|JP,99|VN' --> get fixed price if match country code&#x20;

\*\*\* fixed\_countries='12|SG|SGD,15|FR|EUR,10|IN|INR,25|JP|JPY,99|VN|VND' --> get fixed price if match country code and currency code

* fixed\_currencies: get the fixed price by currencies.&#x20;

**ex:**&#x20;

\*\*\* fixed\_currencies='12|SGD,15|EUR,10|IND,25|JPY,20000|VND' --> get fixed price if match currency code

<pre><code><a data-footnote-ref href="#user-content-fn-1">usage</a>: 
[yaycurrency-price-html fixed_currencies="12|SG,15|FR,10|IN,25|JP,99|VN"]
[yaycurrency-price-html fixed_currencies="12|SG|SGD,15|FR|EUR,10|IN|INR,25|JP|JPY,99|VN|VND"]
[yaycurrency-price-html fixed_currencies="12|SGD,15|EUR,10|IND,25|JPY,20000|VND
</code></pre>

6. **Display a currency converter to convert a specific value between currencies: \[yaycurrency-converter]** --- Coming soon.

<figure><img src="https://2217518750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_yR1oHovFi42XBPZIi%2Fuploads%2FDgmA0h2xZiaYnDVRGLmS%2Fimage.png?alt=media&amp;token=d9bead1e-7561-4b44-985d-3e3693c575ba" alt=""><figcaption></figcaption></figure>

[^1]:
