Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author SilkyPress

    (@diana_burduja)

    Hi,

    overwriting the checkout/form-login.php will not help. You can try to overwrite the global/form-login.php template. There you’ll find the form’s HTML.

    Note that by overwriting the global/form-login.php, you’ll modify all the login forms on your website. If you want to modify only the checkout login form, then you need to overwrite the woocommerce_login_form() function from the /woocommerce/includes/wc-template-functions.php file.

    To overwrite the woocommerce_login_form() function, simply add a function with the same name in the theme’s functions.php file, as follows:

    function woocommerce_login_form( $args = array() ) {
      echo '<form> your form </form>';
    }

    Can we add signup beside login form??

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Customize Login’ is closed to new replies.