and i found in Search Function the variable for pricefrom,priceto
Code: |
$pricefrom = intval(mosGetParam($_REQUEST, 'pricefrom', ''));
$priceto = intval(mosGetParam($_REQUEST, 'priceto', ''));
if ($pricefrom > 0)
$where[] = " CAST( b.price AS SIGNED) >= $pricefrom ";
if ($priceto > 0)
$where[] = " CAST( b.price AS SIGNED) <= $priceto ";
|
so i added the variable for lotsize in this way ...
Code: |
$lotsizefrom = intval(mosGetParam($_REQUEST, 'lotsizefrom', ''));
$otsizeto = intval(mosGetParam($_REQUEST, 'lotsizeto', ''));
if ($lotsizefrom > 0)
$where[] = " CAST( b.price AS SIGNED) >= $lotsizefrom ";
if ($lotsizeto > 0)
$where[] = " CAST( b.price AS SIGNED) <= $lotsizeto ";
|