If you are trying to code this directly into your theme, you will specifically want to look for a file such as “main-register.liquid” although it is possible that the exact name could vary depending on the theme being used.
Alternatively, you can also accomplish this without any coding necessary by using an app such as Helium Customer Fields, which allows you to build a custom registration form and includes pre-made fields for email confirmation and password confirmation, as well as lots of other field options.
I can see main-register.liquid. I checked in the Dawn theme.
I can see the below code in the file -
{{ 'customer.register.email' | t }}
I was wondering whether you have any sample code which I can add here for “Re-Enter Email” field and compare the email ids in both fields to make sure they match.
That definitely looks like the correct file and section of code, however I am not actually a developer and do not have any specific examples or guidance for coding something like this. If you need assistance, you may need to work with a developer directly, or may want to consider an app such as Helium Customer Fields for a solution which does not require editing any code.
Hey @paulson1 , a terms and conditions checkbox would be considered a custom field and unfortunately would not be available on the Customer Fields lite plan.
Hey @VSLV22 ! I can totally understand if the Customer Fields app and our pricing may not fit your situation.
While just adding a checkbox may be a small thing, many users are more than happy to pay for the convenience of having a no code option for building custom forms, especially if the alternative is to pay a developer to build and maintain a custom solution. The app also has lots of other functionalities that thousands of merchants find value in, like being able to require email verification or manual approval or allowing customers to edit their own account information.
If you do not have need of any of our other features, you may certainly be able to find another app or code this yourself for cheaper! We know the app is not the best solution for every shop, we just want to provide some guidance and options where we can.