Magento 2 visibility, status, options - how to read
Review Magento 2 visibility, status, options to read
When reading code for a product using "Fetch from Magento" for Magento 2 here are some useful codes:
"visibility": "4" Visibility in Magento is Catalog/Search
"visibility": "3" Visibility in Magento is Catalog
"visibility": "2" Visibility in Magento is Search
"visibility": "1" Product is NOT visible in Magento (this will not import unless they have unticked Limit product discovery to directly visible products in Settings->Magento Feed->General)
"stock_status": false, Product is out of stock in Magento (even if they have a quantity available this will not list)
"stock_status": true, Product is in stock
"required_options": "1" Product has required options
"required_options": "0" No
"has_options": "0" No
"has_options":"1" yes (this is not supported by omnivore and will cause order errors)
"status": "1" product is enabled in Magento
"status": "2" product is disabled in Magento (this will not import into Omnivore)