---
title: Size chart shortcodes
description: "| Shortcode | What it shows | | --- | --- | | `[cpod_size_chart_button]` | Size guide button for the current product. Opens the charts assigned to that product, its categories or tags. | | `[cpod_size_chart_button text=\"Size guide\"]` | Same…"
url: "https://cpodkit.com/docs/shortcodes/"
updated: "2026-10-22"
category: Size Chart
---

# Size chart shortcodes

| Shortcode | What it shows |
| --- | --- |
| `[cpod_size_chart_button]` | Size guide button for the current product. Opens the charts assigned to that product, its categories or tags. |
| `[cpod_size_chart_button text="Size guide"]` | Same button with your own text |
| `[cpod_size_chart_button id="123"]` | Button that always opens chart 123, on any page |
| `[cpod_size_chart id="123"]` | Chart 123 directly in the page, no popup, for example on a "Size guide" page |

Each chart's ID and shortcode are shown in the Size Charts list and on the right side of the chart edit screen. Save the chart first to get its shortcode.

### Flatsome custom product layouts

1. In **Settings → Size Chart**, set **Button position** to *Do not insert automatically*.
2. In UX Builder, open the product layout, add a **Text** or **HTML** element and paste `[cpod_size_chart_button]`.

### In other texts

Use the `{{size_chart_link}}` placeholder in Shipping Information, Returns & Replacements or the Estimated Delivery summary to add a link that opens the size chart, when the product has one.
