mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 06:00:28 +01:00
#7 Shopify interface does not work
This commit is contained in:
parent
51b70aed0d
commit
ab4e9f001e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user