Forums / General / Shop field labels

Shop field labels

Author Message

Neo Pixel

Saturday 09 April 2011 4:28:30 am

Hi,

How and where can I change the field names on /shop/userregister ? And add a field for telephone number?

I've looked in the setup classes but its not there

Any help would be appreciated

N:)

Asking stupid questions so you don't have to!

Karol Radziuk

Sunday 10 April 2011 11:43:34 pm

Hi,

I did it that way:

1. I created custom module shopuserregister drawing on kernel/shop/userregister.php (there you can create new fields, like phone)

2. I made URL wildcard or alias (some time has passed, can not remember) shop/userregister -> shopuserregister/shopuserregister

3. I made shopaccounthandler (shopuserregister/shopaccounthandlers/customshopaccounthandler.php). In this file I get previously created custom user info.

{$me|attribute(show,1)}

Neo Pixel

Saturday 30 April 2011 3:32:57 am

Thanks Karol :)

I'll give that a try

Asking stupid questions so you don't have to!