Preventing overselling

The online store I’ve built with WIX has a fundamental problem - WIX handles the inventory tracking but it allows overselling if two users buy the same item at the same time.

I’m wondering if there would be a way to resolve this in code, such as updating inventory as soon as an item is added to a basket and reversing this if the basket expires after a certain amount of time.

Or is there any other way? Is it possible to interact with a wix store’s inventory database via code, or would I have to write a custom inventory database?

Thanks

1 Like

Hello David,

At the moment Wix Code does not interact with Wix Stores nor its products.
Feel free to post your request in our Feature Request forum.

Thank you for your feedback