Hi,
Firstly, I guess it will be "product_created" >= {time}-1814400.
Secondly, you have the edit the file "administrator/components/com_hikashop/classes/massaction.php" and replace the code
if((in_array($filter['operator'],array('<=','>=','<','>')) && !preg_match('/^(?:\d+|\d*\.\d+)$/',$filter['value']))){
echo JText::_('WRONG_VALUE').' - ';
return '1 = 2';
}
By
if((in_array($filter['operator'],array('<=','>=','<','>')) && !preg_match('/^(?:\d+|\d*\.\d+)$/',$filter['value']))){
if(strpos($filter['value'],'{time}') !== false){
$query = new HikaShopQuery();
$filter['value'] = $query->_replaceDate($filter['value']);
$filter['value'] = strftime('%Y-%m-%d %H:%M:%S',$filter['value']);
} else {
echo JText::_('WRONG_VALUE').' - ';
return '1 = 2';
}
}
It will add the support of "{time}" in the global mass action system, not only in the Acymailing integration.
Regards,