New Shopify Certification now available: Liquid Storefronts for Theme Developers

Storefront API. Track quantity

azaika
Visitor
2 0 2

The admin panel gives us possibility of disabling the tracking quantity of product

Screenshot_2.jpg

There is a problem with it. When I disable this option, I get the following response of variants query

Screenshot_3.jpg

As you can see the query still returns the "quantityAvailable" option although the functionality is disabled

Screenshot_5.jpg

Existing fields ("availableForSale" or "currentlyNotInStock") don't give us any information about the "Track quantity" option state

Is there some way  to solve this problem via Storefront API?

Reply 1 (1)
juliansthl
Visitor
1 0 0

We're running into the same issue.

Would be good to understand how to best handle this.