Help with this code …((
function change_price($price, $product){
global $post,$valut,$woocommerce;
$valut = get_post_meta( get_the_ID(), 'selectov', true );
if ($valut == 'two'){
$mnog = get_option('kursd');
$new_price = $price*$mnog;
} elseif ($valut == 'three'){
$mnog= get_option('kurse');
$new_price = $price*$mnog;
} elseif ($valut == 'four'){
$mnog= get_option('kursr');
$new_price = $price*$mnog;
}
return $new_price;
}