WooCommerce does not have a separate Login shortcode. Instead when visiting the My Account page as a guest you will be presented with a login form.
- 1
- Create a new “My Account” page and add the
[woocommerce_my_account]
shortcode to the page. - 2
- Visit WooCommerce → Settings → Accounts and choose the page you just created in the My Account setting.
Tip: Hide this Page for Logged-in Users
Read how to only show this page to logged out users.