Change catalog status of unavailable products

This commit is contained in:
Björn Fromme
2019-01-15 14:09:04 +01:00
parent 4ca2d708d5
commit 8d576f9e5b
@@ -164,7 +164,7 @@ class ResellerController extends ActionController
fputcsv($fileHandle, [
$product['@id'],
count($hotel['dates']['date']) > 0 ? 'in stock' : 'preorder',
count($hotel['dates']['date']) > 0 ? 'in stock' : 'out of stock',
'new',
$description,
$product['images']['image'][0],