For our customization want to get woocommerce shop page url programmatically then place the following snippet!.

$shop_page_url = get_permalink( woocommerce_get_page_id( 'shop' ) );

Have any doubt, then comment here!

Leave a Reply

Your email address will not be published. Required fields are marked *