Fixed: Should have option to select No tax while adding new services in order. Also allow to add service with 0 price
This commit is contained in:
@@ -1396,7 +1396,7 @@ class AdminCartsControllerCore extends AdminController
|
||||
$response['errors'][] = Tools::displayError('Invalid service name');
|
||||
}
|
||||
|
||||
if (empty($price)) {
|
||||
if (!isset($price)) {
|
||||
$response['hasError'] = true;
|
||||
$response['errors'][] = Tools::displayError('Service price is required');
|
||||
} elseif (!Validate::isPrice($price)) {
|
||||
|
||||
Reference in New Issue
Block a user