I want to check if product exist in wishlist array, so I can make a function to get id of products in wishlist and the result is
Array
(
[0] => Array
(
[product_id] => 28
)
[1] => Array
(
[product_id] => 30
)
[2] => Array
(
[product_id] => 42
)
)
my code is
foreach ($products as $product)
show products in this style else in this style
I want to check if
$product['product_id'] = the product id in $wishids array