Modification Of Apply For Vendor Form

Hi, I would like to delete city input from Apply for vendor form.

And add tax id input there.

Is is possible to make it from Settings-> Profile fields.?

I tried but could not. May be there is another way to do it.

Looking for responds.

Thanks

Hi, I would like to delete city input from Apply for vendor form.

And add tax id input there.

Is is possible to make it from Settings-> Profile fields.?

I tried but could not. May be there is another way to do it.

Looking for responds.

Thanks

Unfortunately, no. Please check the following thread

http://forum.cs-cart.com/topic/51327-vendor-profile-registration-field/

Unfortunately, no. Please check the following thread

http://forum.cs-cart.com/topic/51327-vendor-profile-registration-field/

Thanks for respond. I deleted these lines from : apply_for_vendor

{__("city")}
but it did not react to the form. So `cities` still there.

Please try to clear cache or delete the var/cache directory manually

Please try to clear cache or delete the var/cache directory manually

Thanks so much.

And for adding for example tax number column. I need to add this line of codes:

{__("taxnum")}
and need to ad this column to the database. right?

Thanks so much.

And for adding for example tax number column. I need to add this line of codes:

{__("taxnum")}
and need to ad this column to the database. right?

Right, but do not not use city key

Thanks for respond and sorry for disturbing you again.

So for making taxes I will change 'fax' row on cscart_companies database to 'tax_number

Then I need to update fax row like that:


{__("tax_number")}



Is it enough for showing tax number on all reports and pages? Or we need to do something additionally?

Right, but do not not use city key

Do you want to replace Fax field with the Tax number one or add new field? For second variant please add new field to database and use the following code

            
{__("tax_number")}

(!) Not tested

Thanks for your help. I did it according to your instructions. I mean the second one. For vendor register page everyhing ok. But the tax number and other changes on administration panel. As an administrator I am opening company page and dont see changes.

Do you want to replace Fax field with the Tax number one or add new field? For second variant please add new field to database and use the following code

            
{__("tax_number")}

(!) Not tested

Did you modify files both for store-front and backend?

design/backend/templates/views/companies/update.tpl

design/themes/THEME/templates/views/companies/apply_for_vendor.tpl

Many thanks for your help. One last question. It appears as _tax_number I would like to translate it as VOEN.

from this code I need to change this one: {__("tax_number")} ?

{__("tax_number")}

Did you modify files both for store-front and backend?

design/backend/templates/views/companies/update.tpl

design/themes/THEME/templates/views/companies/apply_for_vendor.tpl

Go to Administration -> Languages -> Translations and add tax_number language variable (without first underscore)

Thanks so much :-)

Go to Administration -> Languages -> Translations and add tax_number language variable (without first underscore)

You are welcome!