> For the complete documentation index, see [llms.txt](https://doc.product-reg.varify.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.product-reg.varify.xyz/admin/warranty.md).

# Warranty

Adding warranty information for each product allows customers to easily view the expiration date of their warranty after completing the product registration process. This feature enhances transparency

## 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](https://4168782644-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fm4vguP4EvKgU8vwxKCJR%2Fuploads%2Fgit-blob-5c884b46337f441283c7d53583bff4a949a5cf07%2FScreenshot%202021-07-23%20at%2010.46.29.png?alt=media)

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](https://4168782644-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fm4vguP4EvKgU8vwxKCJR%2Fuploads%2Fgit-blob-5c884b46337f441283c7d53583bff4a949a5cf07%2FScreenshot%202021-07-23%20at%2010.46.29.png?alt=media)

### 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="https://4168782644-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fm4vguP4EvKgU8vwxKCJR%2Fuploads%2Fgit-blob-a687bfc2c9160fae34d3a50fb38956af05f2aba7%2FScreenshot%202024-12-12%20at%2021.42.09.png?alt=media" 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="https://4168782644-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fm4vguP4EvKgU8vwxKCJR%2Fuploads%2Fgit-blob-a364e327fa6b3e0459cdb5951d516ec2821593a9%2FScreenshot%202024-12-12%20at%2021.45.24.png?alt=media" 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.

![](https://4168782644-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fm4vguP4EvKgU8vwxKCJR%2Fuploads%2Fgit-blob-9579111b563dfba93d0221da72fc4024b57b3d23%2FScreenshot%202021-07-23%20at%2010.54.41.png?alt=media)\
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](https://4168782644-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fm4vguP4EvKgU8vwxKCJR%2Fuploads%2Fgit-blob-73161cfaddb2f6bac01fe6f9aa029e241dee5ed1%2FScreenshot%202021-07-23%20at%2011.02.47.png?alt=media)

### 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="https://4168782644-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fm4vguP4EvKgU8vwxKCJR%2Fuploads%2Fgit-blob-77bcb72c7ec64daa8ed21a6d0e2e52c56915b3ff%2FScreenshot%202024-06-13%20at%2022.06.45.png?alt=media" 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="https://4168782644-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fm4vguP4EvKgU8vwxKCJR%2Fuploads%2Fgit-blob-6738f2d092124dd941db980a6ea24e591bbd2925%2FScreenshot%202024-06-12%20at%2021.55.45.png?alt=media" 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="https://4168782644-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fm4vguP4EvKgU8vwxKCJR%2Fuploads%2Fgit-blob-e9e4a30f0091147e76365117d01a33bda874b2f1%2FScreenshot%202024-08-19%20at%2021.25.41.png?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://4168782644-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fm4vguP4EvKgU8vwxKCJR%2Fuploads%2Fgit-blob-e9e4a30f0091147e76365117d01a33bda874b2f1%2FScreenshot%202024-08-19%20at%2021.25.41.png?alt=media" alt=""><figcaption></figcaption></figure>

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