WC PHP Get Product Permalink
$url = get_permalink( $product_id );
Weary Wildebeest
$url = get_permalink( $product_id );