Link To — Connect Label Elements to Your Data
Bind label elements to live store data like product name, price, barcode, metafields, and order fields. Full reference of every Link To option for product and address labels.
What it does
“Link To” connects an element on your label to real data from your store. For example, you can link a text box to the product name, so each label shows the correct name for that product. Without “Link To”, the element shows only static text.
How to use it
- In the template editor, add an element (Text, Barcode, QR Code, or Image).
- Select the element on the canvas.
- In the properties panel, find the Link To dropdown.
- Choose a data field. The element will now show live data when you print.
Available data fields
The data fields you can use depend on two things:
- Label type — Product label or Address label
- Element type — Text, Barcode, QR Code, or Image
Product label — Text fields
| Field | What it shows |
|---|---|
| Product Name | The product title |
| Product Description | The product description (you can set start and end position to show part of it) |
| Product Weight | The product weight |
| Product Tags | Tags on the product (you can filter which tags to show) |
| Variant | The variant option value, like “Red / Large” (you can filter which options to show, and choose to show or hide the option name) |
| Custom Text | Text you type yourself — it stays the same on every label |
| Price | The product price (you can set currency format and decimal places) |
| Compared At Price | The original price before discount (you can choose what to show if there is no compared price) |
| Presentment Price | The price in a specific market currency (you select which market) |
| Presentment Compared At Price | The compared price in a specific market currency |
| Unit Price | The price per unit |
| SKU | The product SKU code |
| Barcode Text | The product barcode number as text |
| Vendor | The product vendor name |
| Product Type | The Shopify product type |
| Product Metafield | A custom metafield on the product (you select which one) |
| Variant Metafield | A custom metafield on the variant (you select which one) |
| Label Quantity | The number of labels being printed for this item |
| Current Date | Today’s date (you can add a day offset, for example +7 for one week later) |
| Current Date Unix | Today’s date as a Unix timestamp (with optional day offset) |
| Product ID | The Shopify product ID |
| Variant ID | The Shopify variant ID |
| Inventory Quantity | The current stock level |
Product label — Barcode fields
| Field | What it shows |
|---|---|
| Barcode | The product barcode |
| SKU | The SKU as a barcode |
| Custom Barcode | A barcode with text you type yourself |
| Product Metafield | A metafield value as a barcode |
| Variant Metafield | A variant metafield value as a barcode |
| Product ID | The product ID as a barcode |
| Variant ID | The variant ID as a barcode |
Supported barcode formats: CODE128, EAN13, UPC-A, UPC-E, CODE39, ISBN, EAN8, GS1-128.
Product label — QR Code fields
| Field | What it shows |
|---|---|
| Barcode | The product barcode as a QR code |
| Custom QR Code | A QR code with text or URL you type yourself |
| SKU | The SKU as a QR code |
| Online Store Product URL | A link to the product page on your store (you can add a URL suffix) |
| Product Metafield | A metafield value as a QR code |
| Variant Metafield | A variant metafield value as a QR code |
| Scan to Cart | A special Shopify link that adds the product to the cart when scanned |
| Product Admin URL | A link to the product in Shopify admin |
| Product ID | The product ID as a QR code |
| Variant ID | The variant ID as a QR code |
Product label — Image fields
| Field | What it shows |
|---|---|
| Custom Image | An image you upload yourself |
| Product Image | The main product image from your store |
| Variant Image | The image for the specific variant |
| Product Metafield | A metafield value as an image (the metafield must contain an image URL) |
| Variant Metafield | A variant metafield value as an image |
Address label — Text fields
| Field | What it shows |
|---|---|
| Order Number | The order number |
| Full Address | The complete shipping address |
| Address Line 1 | The first line of the address |
| Address Line 2 | The second line (apartment, suite, etc.) |
| Country | The country |
| Zip Code | The postal or zip code |
| City | The city |
| Province | The state or province |
| City + Province | City and province together |
| Company | The company name |
| Shipping Full Name | The full name on the shipping address |
| Shipping First Name | The first name |
| Shipping Last Name | The last name |
| Shipping Phone | The phone number on the shipping address |
| Customer Phone | The customer’s phone number |
| Customer First Name | The customer’s first name |
| Customer Last Name | The customer’s last name |
| Custom Text | Text you type yourself |
Address label — Barcode / QR Code / Image
Address labels have fewer options:
- Barcode: Custom Barcode, Order Number
- QR Code: Custom QR Code
- Image: Custom Image
Using metafields
Metafields let you show custom data that you added to your products or variants in Shopify.
- In the Link To dropdown, select Product Metafield or Variant Metafield.
- A second dropdown appears showing your metafield definitions.
- Select the metafield you want (shown as
namespace.key, for examplecustom.color). - The element will now show the metafield value for each product.
This works for Text, Barcode, QR Code, and Image elements. For images, the metafield must contain an image URL.
Text formatting options
When you link a text element, you can also set:
- Case — Lowercase, UPPERCASE, Capitalized, or Sentence case
- Prefix — Text to add before the data (for example ”$” before price)
- Suffix — Text to add after the data (for example ” kg” after weight)
Good to know
- If you change the Link To field, the element type may change. For example, switching from Custom Text to Product Name changes how the element gets its data.
- Price fields let you choose the currency format: Regular (1,234.56), No Separator (1234.56), or European (1.234,56). You can also set how many decimal places to show (0 to 5).
- The Variant field lets you filter which option names to display. For example, if your product has Color and Size options, you can choose to show only Color.
- Current Date supports a day offset. Set it to 7 to show a date one week from today. This is useful for expiration dates.
- Scan to Cart QR codes create a special Shopify URL that adds the product to the customer’s cart when scanned.