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

Magento Community version 1.9

0 votes
1 answer
78 views

Change stock availability of products based on qty

I'm looking for a query to get all my products that have "qty > 2 and 'stock availability = 0'" and change the stock availability to 1. A crash on my inventory update routine did a mess on my inventor …
Ralf O's user avatar
  • 67
0 votes

Change stock availability of products based on qty

SOLVED I ran this queries: SELECT p.sku, s.qty, s.min_qty, s.is_in_stock FROM "catalog_inventory_table" s inner join catalog_product_entity p on s.product_id = p.entity_id where s.qty SELECT p.sku, s …
Ralf O's user avatar
  • 67