Jump to content

Address Alias not auto incrementing for new customer


treyj45

Recommended Posts

Hi,
When I add a new address to an account that already has addresses, the new address form is pre populated with My Address, which is already used by default.  It used to auto-increment and create a new address name.  I found this line in address.tpl
 

{if isset($smarty.post.alias)}{$smarty.post.alias}{else if isset($address->alias)}{$address->alias|escape:'html':'UTF-8'}{elseif !$select_address}{l s='My address'}{/if}

Im not sure why this wont work, does anyone know where I can find where the address alias is supposed to change for a new address so I can try to troubleshoot? Im having difficulty finding where.  Thanks

Link to comment
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
×
×
  • Create New...