> For the complete documentation index, see [llms.txt](https://foxecom.gitbook.io/minimog-theme/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://foxecom.gitbook.io/minimog-theme/troubleshooting/foxkit-stops-working.md).

# FoxKit stops working

<div data-full-width="true"><figure><img src="/files/1OZ2q7N6tFYitFzBKwTz" alt=""><figcaption><p><a href="https://foxecom.com/pages/affiliate?utm_source=minimog%2Bhelp%2Bcenter&#x26;utm_medium=banner&#x26;utm_campaign=foxaffiliatelaunch2024">Explore FoxEcom Affiliate Program now </a><span data-gb-custom-inline data-tag="emoji" data-code="2728">✨</span></p></figcaption></figure></div>

Shopify changed the API of Metafield type so if you are using an old theme version (before **v2.5.0**), FoxKit app can stop working on your store.

In this case, follow the instructions below:

* Go to **Themes -> Actions -> Edit code**
* Search & open the file: **snippets/theme-data.liquid**

Find this line (Line 76)

{% code overflow="wrap" %}

```
foxkitAppURL: {{ shop.metafields['foxecom-bs-kit'].shop.foxkitAppURL | json }},
```

{% endcode %}

Replace with

{% code overflow="wrap" %}

```
foxkitAppURL: {{ shop.metafields['foxecom-bs-kit'].shop.value.foxkitAppURL | json }},
```

{% endcode %}

![](/files/x7WOXFETgzDDyX4YucB5)

* Search & open the file: **snippets/foxkit-cart-goal.liquid**

Find this line (Line 1)

{% code overflow="wrap" %}

```
{% assign f_cart_goal = shop.metafields.foxecom-bs-kit.cart-goal %}
```

{% endcode %}

Replace with

{% code overflow="wrap" %}

```
{% assign f_cart_goal = shop.metafields.foxecom-bs-kit.cart-goal.value | default: shop.metafields.foxecom-bs-kit.cart-goal %}
```

{% endcode %}

* Search & open the file: **snippets/foxkit-cart-countdown.liquid**

Find this line (Line 1)

{% code overflow="wrap" %}

```
{% assign f_cart_countdown = shop.metafields.foxecom-bs-kit.cart-countdown %}
```

{% endcode %}

Replace with

{% code overflow="wrap" %}

```
{% assign f_cart_countdown = shop.metafields.foxecom-bs-kit.cart-countdown.value | default: shop.metafields.foxecom-bs-kit.cart-countdown %}
```

{% endcode %}

* Search & open the file: **sections/cart-drawer.liquid**

Find this line (Line 1)

{% code overflow="wrap" %}

```
{% assign f_cart_countdown = shop.metafields['foxecom-bs-kit']['cart-countdown'] %}
```

{% endcode %}

Replace with

{% code overflow="wrap" %}

```
{% assign f_cart_countdown = shop.metafields.foxecom-bs-kit.cart-countdown.value | default: shop.metafields.foxecom-bs-kit.cart-countdown %}
```

{% endcode %}

* Search & open the file: **snippets/product-stock-countdown.liquid**

Find this line (Line 1)

```
{% assign stock_countdown = shop.metafields['foxecom-bs-kit']['stock-countdown'] %}
```

Replace with

{% code overflow="wrap" %}

```
{% assign stock_countdown = shop.metafields['foxecom-bs-kit']['stock-countdown'].value | default: shop.metafields['foxecom-bs-kit']['stock-countdown'] %}
```

{% endcode %}

* Search & open the file: **snippets/check-preorder.liquid**

Find this line (Line 1)

```
{%- assign preorder = product.metafields.foxkit.preorder %}
```

Replace with

{% code overflow="wrap" %}

```
{%- assign preorder = product.metafields.foxkit.preorder.value | default: product.metafields.foxkit.preorder -%}
```

{% endcode %}

* Search & open the file: **snippets/foxkit-messenger.liquid**

Find this line (Line 1)

{% code overflow="wrap" %}

```
{% assign f_messenger = shop.metafields.foxecom-bs-kit.messenger %}
```

{% endcode %}

Replace with

{% code overflow="wrap" %}

```
{% assign f_messenger = shop.metafields.foxecom-bs-kit.messenger.value | default: shop.metafields.foxecom-bs-kit.messenger %}
```

{% endcode %}

* Save file changes

{% hint style="info" %}
If you are using Minimog v2.5.0, this is not necessary
{% endhint %}
