> For the complete documentation index, see [llms.txt](https://image-ai.guides.reactify.com.au/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://image-ai.guides.reactify.com.au/navigating-the-app/settings/best-practices-for-creating-templates.md).

# Best practices for creating templates

Incorporate relevant product attributes in your image alt text and SEO metadata templates! This section serves as a helpful resource for optimising template creation. By showcasing examples, we hope that it offers guidance to ensure your templates are set up effectively.

#### **Bad image alt text (no context)**

> 1200002\_DRESS\_BRAND.jpg

**Better (relevant and descriptive)**

> Paisley Bohemian Dress in Multicolour

**Alt text template example**

{% code overflow="wrap" %}

```liquid
{% if ai.style %}{{ai.style | split: ", " | join: " and "}} {{ai.pattern | downcase}}{% else %}{{ai.pattern}}{% endif %} {{ai.fit | downcase}} {{ai.subcategory | downcase}} {{ai.category | downcase | replace: "necklet", "" | replace: "neckwear", "" | replace: "bag", ""}}{% if ai.other %} with {{ai.other | downcase}}{% endif %} in {{ai.colors | downcase}} {{ai.material | downcase}}
```

{% endcode %}

#### **Bad SEO title (too short)**

> Navy trouser

#### **Better (specific and detailed)**

> Charlotte Dress | Bohemian & Feminine A-Line Dress | Reactify

**Title template example**

{% code overflow="wrap" %}

```liquid
{{product.title}} | {{ai.style | split: ", " | join: " & "}} {{ai.subcategory}} {{ai.category | replace: "Necklet", "" | replace: "Neckwear", "" | replace: "Bag", ""}} | {{product.vendor}}
```

{% endcode %}

#### **Bad SEO description (list of keywords)**

> "Dress, cotton, paisley, multicolor, a-line"

#### **Better (explains what the product is and details like where it's made)**

> Discover the `perfect` `bohemian` and `feminine` `paisley` `a-line` `dress` in `multicolor` `cotton`, ideal for `summer` wear from Reactify. Free shipping over $100.

**Description template example**

{% code overflow="wrap" %}

```liquid
Discover the perfect {{ai.style | split: ", " | join: " and " | downcase}} {{ai.pattern | downcase}} {{ai.fit | downcase}} {{ai.subcategory | downcase}} {{ai.category | downcase | replace: "necklet", "" | replace: "neckwear", "" | replace: "bag", ""}}{% if ai.other %} with {{ai.other | downcase}}{% endif %} in {{ai.colors | downcase}}{% if ai.material %} {{ai.material | downcase}}{% endif %}{% if ai.occasion %}, ideal for {{ai.occasion | split: ", " | join: " or " | downcase}} wear{% endif %} from {{product.vendor}}. Free shipping over $100.
```

{% endcode %}
