Fix: resolve service-product selling preferences and deduplicate price calculation UI
Co-authored-by: Name <sumit201@webkul.in>
This commit is contained in:
@@ -8185,6 +8185,9 @@ class AdminOrdersControllerCore extends AdminController
|
||||
$name = trim(Tools::getValue('new_service_name'));
|
||||
$price = Tools::getValue('new_service_price');
|
||||
$priceCalcMethod = Tools::getValue('new_service_price_calc_method');
|
||||
if (is_array($priceCalcMethod)) {
|
||||
$priceCalcMethod = array_sum(array_map('intval', $priceCalcMethod));
|
||||
}
|
||||
$priceAdditionType = Tools::getValue('new_service_price_addition_type');
|
||||
$productQty = Tools::getValue('new_service_qty');
|
||||
$idTaxRuleGroup = Tools::getValue('new_service_price_tax_rule_group');
|
||||
|
||||
Reference in New Issue
Block a user