Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Storefront API. Track quantity

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.