Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 90962

Denotes a question related to Magento inventory.

0 votes
1 answer
78 views

Change stock availability of products based on qty

A crash on my inventory update routine did a mess on my inventory and there are more than 7000 products, impossible to check one by one. :( …
Ralf O's user avatar
  • 67
0 votes

Change stock availability of products based on qty

catalog_product_entity p on s.product_id = p.entity_id where s.qty >= s.min_qty UPDATE "catalog_inventory_table" SET is_in_stock = 1 WHERE qty >= min_qty AND qty > 0; where "catalog_inventory_table" is my catalog inventory
Ralf O's user avatar
  • 67