1
General Support / Re: Guest Checkout bypass province - uses "Please select" as an option (BUG_
« on: July 26, 2024, 11:18:18 AM »
to solve just open file public_html/storefront/controller/pages/checkout/guest_step_1.php
find method _validate ( line 632)
You need to replace
with this
find method _validate ( line 632)
You need to replace
Code: [Select]
if ($data['country_id'] == 'FALSE') {
$this->error['country'] = $this->language->get('error_country');
}
if ($data['zone_id'] == 'FALSE') {
$this->error['zone'] = $this->language->get('error_zone');
}
with this
Code: [Select]
if (!$data['country_id'] || $data['country_id'] == 'FALSE') {
$this->error['country'] = $this->language->get('error_country');
}
if (!$data['zone_id'] || $data['zone_id'] == 'FALSE') {
$this->error['zone'] = $this->language->get('error_zone');
}