> For the complete documentation index, see [llms.txt](https://minimateapps.gitbook.io/hey-scarcity-low-stock/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minimateapps.gitbook.io/hey-scarcity-low-stock/beginners-guide/sos-remaing-stock-does-not-change.md).

# SOS "Remaing Stock Does not Change"

The app already works on **variant level** by default.

However, your theme does **not update the product URL when a variant is selected**. Because of this, the app cannot detect which variant the customer clicks, so it shows the stock level of the **first available variant** for all selections.

In stores where the URL updates like this:\
`?variant=VARIANT_ID`\
the app can automatically detect the selected variant and show the correct stock count.

{% hint style="info" %}
You can see this working in our demo store:\
<https://minimateapps.myshopify.com/products/hey-bag-stock-zero>\
Password: **mini**

\
For example, when the **White** variant is selected, the URL becomes:\
`...?variant=48002203943212`
{% endhint %}

This behavior is also considered a best practice in e-commerce, as it allows customers to share a direct link to a specific variant.

{% hint style="success" %}
Some themes offer this as an optional setting. If you can enable it in your theme, the app will start working on variant level **automatically**, with no further setup needed.
{% endhint %}
