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

Can't set is_in_stock = 0 #57

Open
sw69 opened this issue Nov 15, 2023 · 1 comment
Open

Can't set is_in_stock = 0 #57

sw69 opened this issue Nov 15, 2023 · 1 comment

Comments

@sw69
Copy link

sw69 commented Nov 15, 2023

Hi, i have problem with set is_in stock. If I have 1 in value. Magento switch is_in_stock, but if I have 0 value Magento don't switch to out of stock.

<simple sku="xxxxxxxxx">
            <stock>
                    <qty> =0</qty>
                    <manage_stock>1</manage_stock>
                   <is_in_stock>0</is_in_stock>
            </stock>
</simple>
@RiccardoRoscilli
Copy link

I think the right value for out of stock products is 2, please try

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

2 participants