# Variables

### What are variables

Variables act as placeholders that you fill in with actual information as the workflow happens. They automatically populate with your store's data when generating ALT text.

Using variables helps you save time and effort. You can set ALT text for all images at once instead of editing them one by one.

Format: `{{ variables }}`

<table><thead><tr><th>Content</th><th>What visitors see</th></tr></thead><tbody><tr><td><code>{{ file_title }}</code> - <code>{{ shop_name }}</code></td><td>theme_cover_image - My store</td></tr><tr><td><code>{{ shop_name }}</code> - <code>{{ file_title }}</code></td><td>Mystore-green_indoor_plant_white_ribbed_ceramic_pot</td></tr><tr><td><code>{{ file_title }}</code></td><td><pre><code>green_indoor_plant
</code></pre></td></tr></tbody></table>

<figure><img src="https://1039522840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fe2UyZIDUxUYqjZFfFANX%2Fuploads%2FN2WOMTYw3Ml2JyjH24yA%2Fimage.png?alt=media&#x26;token=1d60c00b-b45d-49e7-a455-e1b80e0b9469" alt=""><figcaption></figcaption></figure>

### Benefits <a href="#benefits" id="benefits"></a>

* Maintain consistency across your store
* Save hours on image optimization
* Automatically generate alt text for all images at once
* Improve your store's SEO performance

```
{{ variables }}
```

### Supported variables <a href="#supported-variables" id="supported-variables"></a>

| Variable        | Description             | Example               |
| --------------- | ----------------------- | --------------------- |
| `File title`    | Image file name         | green\_indoor\_plant  |
| `Shop name`     | Your Shopify store name | My store              |
| `Shop domain`   | Store domain            | mystore.myshopify.com |
| `Shop country`  | Store country           | US                    |
| `Shop province` | Store province/state    | California            |

> **Note:** Variables are based on image file and store information. Since the app now optimizes by file (not by product page), product-level variables (product type, collection name) are no longer available.

### Tips <a href="#tips" id="tips"></a>

* Combine multiple variables for more detailed descriptions
* Review the **Preview** before applying changes
* Use variables consistently across all images for uniform SEO optimization
* Click `<>` in the template builder to switch to code view for advanced editing
