test
This commit is contained in:
@@ -6080,6 +6080,16 @@ Route::get('/aggiornapreorder/{idarticolo}/{postid}', function ($idarticolo, $po
|
||||
if ($product) {
|
||||
echo "Prodotto trovato: " . $product['name'] . "StockQty = " . $product['stock_quantity'] . "<br>";
|
||||
|
||||
$variations = Variation::all($product_id);
|
||||
showarray($variations);
|
||||
|
||||
/*foreach ($variations as $variation) {
|
||||
$found_key_version = array_search('Versione', array_column($variation->attributes, 'name'));
|
||||
if ($variation->attributes[$found_key_version]->option == 'Nuovo') {
|
||||
$id = 0;
|
||||
}
|
||||
}*/
|
||||
|
||||
$preordine = true;
|
||||
|
||||
$data = [];
|
||||
|
||||
Reference in New Issue
Block a user