t
This commit is contained in:
@@ -6104,10 +6104,11 @@ Route::get('/aggiornapreorder/{idarticolo}/{postid}', function ($idarticolo, $po
|
||||
|
||||
if (isKeyPresent($product['meta_data'], '_is_pre_order')) {
|
||||
echo "TROVATO ! ";
|
||||
$preorder = getValueByKey($product['meta_data'], '_is_pre_order');
|
||||
}
|
||||
|
||||
if ($product['_is_pre_order'] == 'true') {
|
||||
echo "<span class='badge badge-success'>PREORDER</span>: " . $product['_is_pre_order'] . "<br>";
|
||||
if ($preorder) {
|
||||
echo "<span class='badge badge-success'>PREORDER</span>: " . $preorder;
|
||||
}
|
||||
echo "<br>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user