- Posts: 4
- Thank you received: 0
remove hundredths of grams
6 years 5 months ago #320123
by Dadatr
remove hundredths of grams was created by Dadatr
Please Log in or Create an account to join the conversation.
6 years 5 months ago #320142
by nicolas
Replied by nicolas on topic remove hundredths of grams
Hi,
Before the line:
you can add such code:
in the file administrator/components/com_hikashop/classes/filter.php and that should hopefully do it.
Before the line:
Code:
$options['range'] = '{min: '.$cursorMin.', max: '.$cursorMax.'}';
Code:
$cursorMin = (int)$cursorMin;
$cursorMax = (int)$cursorMax;
$minVal = (int)$minVal;
$maxVal = (int)$maxVal;
Please Log in or Create an account to join the conversation.
Time to create page: 0.045 seconds