Commit dbbbe57c by lmf

下订单判断city是否为空关闭

parent 4430e9a4
...@@ -125,9 +125,9 @@ class Validator ...@@ -125,9 +125,9 @@ class Validator
if ($this->isEmpty($address->getStreetLine(1))) { if ($this->isEmpty($address->getStreetLine(1))) {
$errors[] = __('Please enter the street.'); $errors[] = __('Please enter the street.');
} }
if ($this->isEmpty($address->getCity())) { // if ($this->isEmpty($address->getCity())) {
$errors[] = __('Please enter the city.'); // $errors[] = __('Please enter the city.');
} // }
if ($this->isTelephoneRequired()) { if ($this->isTelephoneRequired()) {
if ($this->isEmpty($address->getTelephone())) { if ($this->isEmpty($address->getTelephone())) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment