Add hooks completeAjaxReturnArray

This commit is contained in:
melina 2022-04-20 12:01:17 +02:00
parent 25fbd3b385
commit 6788cd179c

View File

@ -267,6 +267,11 @@ if ($action == 'getProducts') {
'qty' => 1,
//'price_formated' => price(price2num($obj->price, 'MU'), 1, $langs, 1, -1, -1, $conf->currency)
);
// Add entries to row from hooks
$parameters=array();
$parameters['row'] = end($rows);
$parameters['obj'] = $obj;
$reshook=$hookmanager->executeHooks('completeAjaxReturnArray', $parameters);
}
echo json_encode($rows);
} else {