test
This commit is contained in:
@@ -6120,6 +6120,8 @@ Route::get('/aggiornapreorder/{idarticolo}/{postid}', function ($idarticolo, $po
|
||||
if ($variation->attributes[$found_key_version]->option == 'Nuovo') {
|
||||
$arrmetadata = $variation->meta_data;
|
||||
|
||||
echo 'VARIAZIONE=' . json_encode($variation);
|
||||
|
||||
$found = isKeyPresent($arrmetadata, '_wpro_variable_is_preorder');
|
||||
if ($found) {
|
||||
$ispreorder = getValueByKey($arrmetadata, '_wpro_variable_is_preorder');
|
||||
@@ -6128,7 +6130,7 @@ Route::get('/aggiornapreorder/{idarticolo}/{postid}', function ($idarticolo, $po
|
||||
}
|
||||
}
|
||||
}
|
||||
showarray($variations);
|
||||
// showarray($variations);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user