Wordpress - get woocommerce My account page link
You can get the WooCommerce my-account URL as below
<a href="<?php echo get_permalink( get_option('woocommerce_myaccount_page_id') ); ?>" title="<?php _e('My Account',''); ?>"><?php _e('My Account',''); ?></a>
Now you can insert this in completed order mail template too.
<h2> <a href="<?php echo get_permalink( get_option('woocommerce_myaccount_page_id') ); ?>" title="<?php _e('My Account',''); ?>">Go to your account page for review</a> </h2>
<a href="http://animax.cf/product/happy-ninja/#reviews">
<img src="http://animax.cf/wp-content/uploads/2015/12/product-reviews.png" alt="Product Rating">
</a>
woocommerce wc_get_page_id function will help you to create WooCommerce pages URLs
Examples of usage:
My Account
<?php echo get_permalink( wc_get_page_id( 'myaccount' ) ); ?>
Shop
<?php echo get_permalink( wc_get_page_id( 'shop' ) ); ?>
There is another way to do this using the WooCommerce native endpoints (you can use any of the registered endpoints with WC or third-party plugins that hook into WC):
<?php echo esc_url( wc_get_account_endpoint_url( 'edit-account' ) ); ?>
For dashboard you could use something like this
<?php echo esc_url( trailingslashit( wc_get_account_endpoint_url( '' ) ) ); ?>