diff --git a/shop/price/google_feed.php b/shop/price/google_feed.php index cd919fd9e..f7c5efa90 100644 --- a/shop/price/google_feed.php +++ b/shop/price/google_feed.php @@ -50,7 +50,11 @@ for ($i = 0; $row = sql_fetch_array($result); $i++) { $stock = "in_stock"; if($row['it_stock_qty'] <= 0) { - $stock = "out_of_stock"; + if($row['in_stock'] > 0) { + $stock = "in_stock"; + } else { + $stock = "out_of_stock"; + } } else { if($row['in_stock'] <= 0) $stock = "out_of_stock"; }