foreach ($prodarraybiotrack as $key => $value) {
if (multi_in_array($value['strain'], $getProducts['products'], 'title')) {
foreach ($getProducts['products'] as $h) {
if (array_key_exists('title', $h) && $h['title']==$value['strain']) {
$dataupdate = array(
'regular_price' => '550',
'sku' => $value['id'],
);
$WCproducts->save_product_meta( $h['id'], $dataupdate );
}
}
}else{
$data = array(
'title' => $value['strain'],