Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

Variants continuing to sell when out of stock

Solved

Variants continuing to sell when out of stock

jake-frate
Shopify Partner
16 1 4

My team has a third-party app which creates product listings on behalf of merchants.

 

I verified that all of the variants we manage for our merchants have their ProductVariantInventoryPolicy set to "DENY". But, customers are still able to checkout those products when their inventory stock is zero and negative. This never used to be an issue, and has only come up for the first time today.

 

Are there any other fields that we must set in order to prevent customers from creating checkouts for variants that are out of stock? Is it possible that the merchant changed some setting which overrides the ProductVariantInventoryPolicy?

Accepted Solution (1)

garyrgilbert
Shopify Partner
431 41 186

This is an accepted solution.

Hi Jake,

 

As far as I am aware this shouldn't happen if you have the inventory_policy set to deny. The only way I can see this happening is if the merchant is creating orders through the admin interface for the customers. 

 

We had this very issue with one of our customers.. in that case it's a training thing. If this was a global thing we would have heard about it by now from that particular merchant.

 

Cheers,

 

Gary

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution

View solution in original post

Reply 1 (1)

garyrgilbert
Shopify Partner
431 41 186

This is an accepted solution.

Hi Jake,

 

As far as I am aware this shouldn't happen if you have the inventory_policy set to deny. The only way I can see this happening is if the merchant is creating orders through the admin interface for the customers. 

 

We had this very issue with one of our customers.. in that case it's a training thing. If this was a global thing we would have heard about it by now from that particular merchant.

 

Cheers,

 

Gary

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution