This commit is contained in:
paoloar77
2024-05-19 12:53:34 +02:00
parent 85359d314b
commit bfde61db35

View File

@@ -6102,6 +6102,10 @@ Route::get('/aggiornapreorder/{idarticolo}/{postid}', function ($idarticolo, $po
echo "Prodotto trovato: " . $product['name'] . "StockQty = " . $product['stock_quantity'];
if (isKeyPresent($product['meta_data'], '_is_pre_order')) {
echo "TROVATO ! ";
}
if ($product['_is_pre_order'] == 'true') {
echo "<span class='badge badge-success'>PREORDER</span>: " . $product['_is_pre_order'] . "<br>";
}