Configure Frontend

You need to configure your frontend to make this app work. Simply copy the specified codes and paste it to their respective template file accordingly.

To show the warranty information on the product page

AUTO CODE INJECTION

Note
- If you face any problem/error while auto-injecting the code please choose manual option.

MANUAL OPTION

You have to paste the upper code here on sections/product-template.liquid. To access the file click here
<div class="wk_default_warranty" variant_available="{{ product.selected_or_first_available_variant.available }}" variant_id="{{ product.selected_or_first_available_variant.id }}" customer_id = "{{ customer.id }}" product_id="{{ product.id }}" product_type = "{{ product.type }}"></div>

If you are using Online store 2.0 (Example- Dawn), you need to follow the steps to add the codes.

You have to paste the upper code here on sections/main-product.liquid. To access the file click here
<div class="wk_default_warranty" variant_available="{{ product.selected_or_first_available_variant.available }}" variant_id="{{ product.selected_or_first_available_variant.id }}" customer_id = "{{ customer.id }}" product_id="{{ product.id }}" product_type = "{{ product.type }}"></div>
Important Note : For managing extended warranty feature we are creating a product named "Warranty Product", please do not delete that product.