Add Password Confirmation Field (Craft Theme)

Hi, I would like to add a ‘confirm password’ field on my customer register page. As well as a ‘show password’ checkbox on both password and confirm password fields. I am using the Craft theme. Can someone help please? I have tried a few different things in the ‘edit code’ section but nothing changes in the preview page.

Store link:

www.ambriajewellery.co.uk

Password:

skozeb

Thanks.

@Ambria

Please check following URL for help

https://www.huratips.com/tech-tips/how-to-add-confirm-password-field-in-shopify-registration-page.html

Thanks!

Hi @Ambria

Please follow these steps:

  • Step 1: At Shopify Admin, Select Online Store → Themes → Edit code

  • Step 2: Find the theme.liquid file and add this line under the tag like this:


  • Step 3: Find the file main-register.liquid, and add the following code below the tag with the value for=“RegisterForm-password”


  • Step 4: Add this code before the . tag


      

        
      

      
    

  • Step 5: Add this code at the end of main-register.liquid. file

  • Step 6: Save your work.

I hope that it will work for your site.

1 Like

Thank you for the detailed response. The Confirmation Password field worked great but the Show Password Checkbox did now work.

@BSS-Commerce

I managed to get the checkbox working. I had to play around with a few different codes. The problem now, is that i can’t seem to align the box with my form fields. Can you help? Thanks.