Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Search App: Webhook: Product stock coming with default stock of 50 #1128

Open
Sihana-Shybin opened this issue Dec 6, 2023 · 0 comments

Comments

@Sihana-Shybin
Copy link

Sihana-Shybin commented Dec 6, 2023

What are you trying to achieve?

I attempted to create a product in Saleor core and index the same into Algolia without stock. But observed a default stock of 50 in Algolia index.

Steps to reproduce the problem

In Saleor UI, I have configured a product like the below:
image
Through product Variant webhook, getting the variant information like,
image
Since the payload coming from GitHub has a stock, in Alogila also it reflects the same.
image

What did you expect to happen?

The product must be out of stock in algolia as well when I am indexing the same.
How this product variant is getting a stock of 50 even if I haven't configured any quantity.

I am using saleor-platform for setting up the saleor.

@Sihana-Shybin Sihana-Shybin changed the title Search App: Webhook: Product stock coming with default stock of 50 Bug: Search App: Webhook: Product stock coming with default stock of 50 Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant