Top

Automatically Add a Customer Tag on Registration

Warning!

This is an unsupported theme customization.  You can request this customization by emailing our Professional Services Team.

With Customer Specific Pricing you can automatically tag a customer when they create an account so they receive special pricing immediately.

  1. Enable Customer Accounts in Shopify.
  2. From "Shopify Admin", select Online Store.

    select online store 

  3. Select Actions.

    Select Actions 

  4. Select Edit code.

    Select Edit code 

  5. Under "Templates", select customers/register.liquid.

    select customers/register.liquid 

  6. Find:

    {% form 'create_customer' %}

    find this line of code 

  7. Copy and paste this code directly below that line:

    Note: This code will add the tag "Wholesale" to any customer that registers. To use a different tag, replace "Wholesale" with the tag of your choice.

    <input type="hidden" id="customer_tags" name="customer[tags]" value="Wholesale"/>

    copy and paste this code 

  8. Select Save.

    select save 

That's it!