How to Get Various WooCommerce Page URLs

In an E-commerce site, we need Shop, Cart, Checkout & My Account, Logout and Payment page. So we install WooCommerce plugin, by default these plugins create all that pages but some point we want URL of this page for use in our WooCommerce plugins or themes. So what we do? Here is a solution. Here we find a solution to How to Get Various WooCommerce Page URLs.

Here, we are going to use one amongst the WooCommerce function wc_get_page_id(), which gives us the id of the given parameter. The parameter in