From 8d576f9e5bcde8294ad03e7c204587ea37b06c24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Tue, 15 Jan 2019 14:09:04 +0100 Subject: [PATCH] Change catalog status of unavailable products --- .../ext/ep_products/Classes/Controller/ResellerController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/typo3conf/ext/ep_products/Classes/Controller/ResellerController.php b/web/typo3conf/ext/ep_products/Classes/Controller/ResellerController.php index 8b0555b1..d94cda41 100644 --- a/web/typo3conf/ext/ep_products/Classes/Controller/ResellerController.php +++ b/web/typo3conf/ext/ep_products/Classes/Controller/ResellerController.php @@ -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],