Author Topic: How to delete fields from Create Account customer form?  (Read 960 times)

Offline Zlatko

  • Newbie
  • *
  • Posts: 1
  • Karma: +1/-0
    • View Profile
How to delete fields from Create Account customer form?
« 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.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2006
  • Karma: +309/-12
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: How to delete fields from Create Account customer form?
« Reply #1 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.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod