This commit is contained in:
paoloar77
2024-06-18 09:16:53 +02:00
parent b7ff7aed82
commit 758afe83a0

View File

@@ -131,6 +131,7 @@ function setPreOrder($sku, $aggiornapreordine, $debug)
}
$idprodotto = $product['parent_id'];
if ($aggiornapreordine === '1') {
$data = [];
@@ -189,7 +190,7 @@ function setPreOrder($sku, $aggiornapreordine, $debug)
echo "Aggiornato Preorder: [ParentId=" . $idprodotto . '] ProdId= ' . $product['id'] . ' ' . $variation['name'] . "<br>";
}
}
} else if ($aggiornapreordine === '1') {
} else if ($aggiornapreordine === '-1') {
if ($idprodotto > 0) {