From ab4e9f001e371ac8323c23d468e38a92eab7da6f Mon Sep 17 00:00:00 2001 From: Roland Rusch Date: Wed, 19 Jul 2023 16:51:32 +0200 Subject: [PATCH] #7 Shopify interface does not work --- www/pages/shopimporter_shopify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/pages/shopimporter_shopify.php b/www/pages/shopimporter_shopify.php index 39ad7f3c..1cb29d45 100644 --- a/www/pages/shopimporter_shopify.php +++ b/www/pages/shopimporter_shopify.php @@ -690,7 +690,7 @@ class Shopimporter_Shopify extends ShopimporterBase $inventoryitemid = $resultv['data']['variant']['inventory_item_id']; $resulti = $this->adapter->call("inventory_levels.json?inventory_item_ids=$inventoryitemid&location_ids=$locationid"); $vorhanden = $resulti['data']['inventory_levels'][0]['available']; - $adjust = floatval($lageranzahl) - floatval($vorhanden);; + $adjust = floatval($lageranzahl) - floatval($vorhanden); if($adjust != 0){ $data = array("location_id" => $locationid, "inventory_item_id"=> $inventoryitemid,