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')) {
|
if (isKeyPresent($product['meta_data'], '_is_pre_order')) {
|
||||||
echo "TROVATO ! ";
|
echo "TROVATO ! ";
|
||||||
|
$preorder = getValueByKey($product['meta_data'], '_is_pre_order');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($product['_is_pre_order'] == 'true') {
|
if ($preorder) {
|
||||||
echo "<span class='badge badge-success'>PREORDER</span>: " . $product['_is_pre_order'] . "<br>";
|
echo "<span class='badge badge-success'>PREORDER</span>: " . $preorder;
|
||||||
}
|
}
|
||||||
echo "<br>";
|
echo "<br>";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user