You might need to remove the validation in controller class. [TAKE A BACKUP OF THE FILES]
catalog/controller/account/create.php
comment the following code
if (isset($this->error['zone'])) {
$this->data['error_zone'] = $this->error['zone'];
} else {
$this->data['error_zone'] = '';
}
and the following code
if ($this->request->post['zone_id'] == 'FALSE') {
$this->error['zone'] = $this->language->get('error_zone');
}
Also you need to remove red star in
/view/theme/default/template/account/create.tpl
to make customer know that its not mandatory.
Hope this helps.
catalog/controller/account/create.php
comment the following code
if (isset($this->error['zone'])) {
$this->data['error_zone'] = $this->error['zone'];
} else {
$this->data['error_zone'] = '';
}
and the following code
if ($this->request->post['zone_id'] == 'FALSE') {
$this->error['zone'] = $this->language->get('error_zone');
}
Also you need to remove red star in
/view/theme/default/template/account/create.tpl
to make customer know that its not mandatory.
Hope this helps.
If you dont want the customer to select a zone for a certain country, maybe this could help you: http://forum.opencart.com/viewtopic.php?f=20&t=8349
Request Reviews v1.0 released.
Who is online
Users browsing this forum: No registered users and 41 guests