Re: Adding a custom checkmark box during account sign up

Adding a custom checkmark box during account sign up

sshige2130
New Member
4 0 0

Hi - Is there a way to customize the account sign up page with a checkmark box? We want to be able to distinguish between customers who are buying for themselves vs buying for their business/office. Is there a feature for this already in Shopify without downloading a third party app? It would be a simple checkmark box after prompted with the question, "Who are you buying for?", with the options "Personal" or "Business/Office". If possible, can an automatic tag be applied to these accounts as well? 

Replies 2 (2)

EcomGraduates
Shopify Partner
632 52 90

In the left-hand sidebar, locate the "Templates" folder and click on "customers/register.liquid".

Scroll down to the bottom of the file and add the following code snippet just before the </form> tag:

 

<div class="form-group">
  <label for="buying-for">Who are you buying for?</label>
  <div class="checkbox-group">
    <input type="checkbox" id="personal" name="personal" value="Personal">
    <label for="personal">Personal</label>
    <br>
    <input type="checkbox" id="business" name="business" value="Business/Office">
    <label for="business">Business/Office</label>
  </div>
</div>

 

To automatically tag customer accounts based on their selection, you can use Shopify's "Customer tags" feature. Here's how you can do it:

  1. Go to your Shopify admin panel and navigate to "Customers".
  2. Select a customer account that you want to tag.
  3. In the "Tags" section, add a tag based on the customer's selection (e.g. "Personal" or "Business/Office").
  4. Save the changes to the customer account.
  5. Repeat for each customer account that you want to tag.

If this fixed your issue, likes and accepting as a solution are highly appreciated.

Build an online presence with our custom built Shopify Theme EcomifyTheme



Christina--11
Visitor
3 0 0

Can you do something similar but have a check box to sign up to marketing and then another one to agree with terms and conditions?