Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

LauraJ

Birthday.....

Recommended Posts

Can I remove the requirement for customers to enter their date of birth, can i remove it all together?

Share this post


Link to post
Share on other sites

Code is in

  • identity.tpl
  • authentication-create-opc.tpl
  • authentication-create.tpl
  • order-opc_new_account.tpl
  • order-opc_new_account-advanced.tpl

It looks like this:

<div class="form-group date-select">
          <label>{l s='Date of Birth'}</label>
          <div class="row">
            <div class="col-xs-4">
              <select name="days" id="days" class="form-control">
                <option value="">-</option>
                {foreach from=$days item=v}
                  <option value="{$v}" {if ($sl_day == $v)}selected="selected"{/if}>{$v}&nbsp;&nbsp;</option>
                {/foreach}
              </select>
            </div>
            <div class="col-xs-4">
              {*
                  {l s='January'}
                  {l s='February'}
                  {l s='March'}
                  {l s='April'}
                  {l s='May'}
                  {l s='June'}
                  {l s='July'}
                  {l s='August'}
                  {l s='September'}
                  {l s='October'}
                  {l s='November'}
                  {l s='December'}
              *}
              <select id="months" name="months" class="form-control">
                <option value="">-</option>
                {foreach from=$months key=k item=v}
                  <option value="{$k}" {if ($sl_month == $k)}selected="selected"{/if}>{l s=$v}&nbsp;</option>
                {/foreach}
              </select>
            </div>
            <div class="col-xs-4">
              <select id="years" name="years" class="form-control">
                <option value="">-</option>
                {foreach from=$years item=v}
                  <option value="{$v}" {if ($sl_year == $v)}selected="selected"{/if}>{$v}&nbsp;&nbsp;</option>
                {/foreach}
              </select>
            </div>
          </div>
        </div>

you need to comment this out.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×