Ask for additional information in customer register form

New Member
1 0 0

Hi, I am trying to add 2 checkboxes to my customer signup form and it was working in my live theme but I am setting up a new theme and it will now work there.. What am I doing wrong? 

I am adding the script,  I am not sure where I change it to get it working in the new theme, it was working fine in my previous theme.

 

 <div id="first_name" class="clearfix large_form">
      <label for="first_name" class="login">{{ 'customer.register.first_name' | t }}</label>
      <input type="text" value="" name="customer[first_name]" id="first_name" class="large" size="30" />
    </div>

    <div id="last_name" class="clearfix large_form">
      <label for="last_name" class="login">{{ 'customer.register.last_name' | t }}</label>
      <input type="text" value="" name="customer[last_name]" id="last_name" class="large" size="30" />
    </div>

    <div id="email" class="clearfix large_form">
      <label for="email" class="login">{{ 'customer.register.email' | t }}</label>
      <input type="email" value="" name="customer[email]" id="email" class="large" size="30" />
    </div>

    <div id="password" class="clearfix large_form">
      <label for="password" class="login">{{ 'customer.register.password' | t }}</label>
      <input type="password" value="" name="customer[password]" id="password" class="large password" size="30" />
    </div>
 <div id="wholesale" class="clearfix">
    <label for="wholesale" class="login">Are you a Wholesaler?</label>
    <input type="checkbox" value="Yes" name="customer[note][wholesale?-]" id="tacos" />
</div>
        <div id="instructor" class="clearfix">
    <label for="instructor" class="login">Are you an Instructor?</label>
    <input type="checkbox" value="Yes" name="customer[note][Instructor?-]" id="tacos" />
</div>
       <a href="mailto:info@greenappleactive.com" target="_blank">
  Click Here</a> to email us your Wholesale Certificate or Instructor Documentation
       <input type="hidden" id="customer_tags1" name="customer[tags][1]" value="registered_user"/> 
        <input type="hidden" id="customer_tags2" name="customer[tags][2]" value="new_user"/>
     
      
       <input type="hidden" id="customer_tags1" name="customer[tags][1]" value="registered_user"/> 
        <input type="hidden" id="customer_tags2" name="customer[tags][2]" value="new_user"/>
     

    <div class="action_bottom">
      <input class="secondary button" type="submit" value="{{ 'customer.register.submit' | t }}"/>
    </div>
    {% endform %}
  </div>

 

0 Likes
Highlighted
Shopify Staff (Retired)
Shopify Staff (Retired)
290 0 162

Hey Cristofer,

With a custom theme like Expression it can be hard to tell, but it looks like you'll want to edit or replace the form in the register.liquid file starting on line 29.

If the form doesn't seem to work with the theme still, you can also talk to Clean Themes at shopify@cleanthemes.co.uk. :)

0 Likes