function return_custom_price($price, $product) {

IF (i4w_has_tag(‘1330’)) :
{
global $post, $blog_id;
$price = get_post_meta($post->ID, ‘_regular_price’);
$post_id = $post->ID;
$price = i4w_get_contact_field(‘_HalfofShowCost’);
return $price;
}

ELSEIF (i4w_has_tag(‘1328’)) :
{
global $post, $blog_id;
$price = get_post_meta($post->ID, ‘_regular_price’);
$post_id = $post->ID;
$price = i4w_get_contact_field(‘_HalfofShowCost’);
return $price;
}

ELSEIF (i4w_has_tag(‘1332’)) :
{
global $post, $blog_id;
$price = get_post_meta($post->ID, ‘_regular_price’);
$post_id = $post->ID;
$price = i4w_get_contact_field(‘_TotalShowCost’);
return $price;
}
ENDIF;

return $price;
}

add_filter(‘woocommerce_get_price’, ‘return_custom_price’, 10, 2);