AbanteCart Community

Shopping Cart Operations => Support => Topic started by: Old Fossil on April 25, 2014, 01:20:26 PM

Title: Remove/ Rename Registration Fields
Post by: Old Fossil on April 25, 2014, 01:20:26 PM
I am trying to remove various sections from my carts registration field for when a user registers.

The sections I want removed are Company, Telephone and Fax.

I am also trying to rename zipcode to the UK equivalent which is Postcode.

AFAIK I have found the appropriate files within the cpanel.

However despite emptying the cache I have had no success with this.

Am I missing something?

I have looked through various older topics and the Documentation section to no avail.
Title: Re: Remove/ Rename Registration Fields
Post by: abantecart on April 25, 2014, 01:55:13 PM
Cache is not related to editing templates

Are you looking at correct template file?  There are 2 default templates:

Default HTML5:
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default_html5/template/pages/account/create.tpl

Default (old template)
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default/template/pages/account/create.tpl

Title: Re: Remove/ Rename Registration Fields
Post by: llegrand on April 25, 2014, 02:12:02 PM
Old Fossil,  you can also change the input via  System > Localization > Language Definitions

then type 'zip" in the translation search box -  look for the one called "account create"

You could also change the the company  in the same way  and simply add company (optional):

Keep in mind that all the changes you make within the code you will at least need to check to see if they need to be re-made when you update versions.  And updating versions is pretty important to my way of thinking.

If you use the XML editor then the changes are applied to the new versions without additional effort.  Something to keep in mind.

Lee


Title: Re: Remove/ Rename Registration Fields
Post by: Old Fossil on April 25, 2014, 02:18:53 PM
Thanks Lee

That did the trick.

I presume removing country would do similar?


All sorted.

 :)