AbanteCart Community

eCommerce construction => How-to questions => Topic started by: Zlatko on December 23, 2021, 10:37:27 AM

Title: How to delete fields from Create Account customer form?
Post by: Zlatko on December 23, 2021, 10:37:27 AM
Hi.
In many countries, especially in the Balkans, the option for costumers to enter the city name in two fields is unnecessary. There is a City field and a Region / State field with a drop-down list of city names. So in this case the name of the city is in two places.
How do I completely remove the City field because I want only the Region / State field to remain? Also, how to remove the Fax field, because in most cases my costumers do not need it.
Please help because I am not an expert in PHP and Javascript.
Title: Re: How to delete fields from Create Account customer form?
Post by: abolabo on December 24, 2021, 12:00:09 PM
to solve you should to write a hooks for form and validation.
Changing of core code not recommended. These changes will be overridden by future upgrade process.
You can clone your current template via our developer tools extension and add hooks for form there.