# Warranty

## How to set up the product warranty period

### Warranty period using tags

Each product can have a different warranty period, which needs to be set up at the product level using **product tags**. Using tags will apply the warranty period to all variants of the product.

To set this up, follow these steps:

1. Open the Shopify admin.
2. Navigate to **Products**.
3. Select the product you want to add a warranty period to.
4. Add new tags to the product to indicate the warranty period.

![product with warranty period tag](/files/-MfHXuZwEoAysAnWu_8z)

The tags should be in the format **warranty:{duration}**, where **duration** consists of a number and a unit (e.g., **1 year**).

Example tags:

* warranty:1 year
* warranty:2 years
* warranty:6 months

![product with warranty period tag](/files/-MfHXuZwEoAysAnWu_8z)

### Warranty period for specific product variant

It's possible to set up specific warranties for different variants. For example, if you have a bed product, the different sizes will be variants. A 2-meter bed can have a 2-year warranty, while a 1.5-meter bed can have a 1-year warranty.

To set the warranty period for a specific variant, you need to use a metafield.

**Create a new metafield for product variants in the Shopify admin > Settings > Custom Data > Variant > Add new definition/metafield**

1. The name must be **warranty** (all lowercase).
2. The type should be Single line text.

<figure><img src="/files/tmo4IHGNvdvd6an2RVWS" alt=""><figcaption></figcaption></figure>

You can preset choices for the warranty period, such as 1 year, 2 years, and 3 years. This will simplify assigning values later.

Once the variant metafield is set, navigate to the product variant and assign the appropriate metafield value.

<figure><img src="/files/j14qlL4zoyp7cQAIAJ7v" alt=""><figcaption></figcaption></figure>

The value for the warranty should match the format used in the tag section, such as **1 year** or **6 months**.

### Show warranty info

Once the product is set up with a warranty period and the customer registers that product, the warranty expiration date will be calculated based on **registration date + warranty period**.

To allow customers to see the warranty expiration date, you need to enable this feature in the App admin:

1. Go to **App Settings**.
2. Navigate to **General**.
3. Enable **Show customer warranty**.

This will display the warranty expiration date to the customer.

![](/files/-MfHZoSRKApEvj9o3ZGm)\
Once it's enabled, **Save settings**.

After the setting is enabled, the customer can see the warranty information in the frontend under **Registered Products**.

![Customer's view of warranty](/files/-MfHadfW6E8NxdLnhn7M)

### Customizing Warranty Wording

You can change the wording for warranty information in the App admin. To do this, follow these steps:

1. Go to **Settings**.
2. Navigate to **Languages**.
3. Search for the term **warranty**.
4. Modify the wording as needed.
5. Don't forget to **Save** your changes.

This allows you to customize how warranty information is presented to your customers.

### Show warranty info when filling the form

It's possible to show the warranty information while the customer is filling out the form. To enable this feature, follow these steps:

1. Go to **App admin**.
2. Navigate to **Forms**.
3. Select the form you want to modify.
4. Go to **Settings** > **General**.
5. Enable **Show warranty info**.

This will display the warranty information to the customer during the form-filling process.

<figure><img src="/files/vY1FKEQkT9LXNcZZdCNi" alt=""><figcaption></figcaption></figure>

Once the product has a warranty tag and the feature is **enabled**, the warranty information will be displayed on the form when the customer selects the product during the form-filling process.

<figure><img src="/files/sS8iZkEXjVS5ZqRT8UWs" alt=""><figcaption></figcaption></figure>

### Extended warranty

### Extended Warranty

It's possible to set up an extended warranty if the customer registers their product within a specified number of days after the purchase date.

First, set up the normal warranty as described above. Then, enable the extended warranty settings in the App admin:

1. Go to **Forms**.
2. Select the form you want to modify.
3. Navigate to **Settings** > **General**.
4. Enable **Extended warranty**.
5. Select the period and date for the extended warranty.

<figure><img src="/files/vcR5Vu7gWOh05gj8D0XR" alt=""><figcaption></figcaption></figure>

Once enabled, the app will automatically calculate the date and add the extended warranty.

<figure><img src="/files/vcR5Vu7gWOh05gj8D0XR" alt=""><figcaption></figcaption></figure>

Once enabled, the app will automatically calculate the extended warranty period and update the warranty expiration date accordingly.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.product-reg.varify.xyz/admin/warranty.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
