No decimals in pricefilter
8 years 10 months ago #285789
by Joomill
No decimals in pricefilter was created by Joomill
-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.3
Is there a way to remove the decimals in the pricefilter when i have the "dynamic display" option on.?
Now it show 0,79 - 149,95
We have cursor steps of €1 so it moves to 1,79.. 2,79.. 3,79....
We would like to show it as:
0 (always round down) - 150 (always round up)
-- Joomla version -- : 3.8.3
Is there a way to remove the decimals in the pricefilter when i have the "dynamic display" option on.?
Now it show 0,79 - 149,95
We have cursor steps of €1 so it moves to 1,79.. 2,79.. 3,79....
We would like to show it as:
0 (always round down) - 150 (always round up)
Please Log in or Create an account to join the conversation.
8 years 10 months ago #285794
by nicolas
Replied by nicolas on topic No decimals in pricefilter
Hi,
It's not possible. You would have to customize the file administrator/components/com_hikashop/classes/filter.php
It's not possible. You would have to customize the file administrator/components/com_hikashop/classes/filter.php
Please Log in or Create an account to join the conversation.
8 years 10 months ago #285867
by Joomill
Replied by Joomill on topic No decimals in pricefilter
Thanks i found a way to do it.
But is there a way to override this file so it won't be lost with an update?
But is there a way to override this file so it won't be lost with an update?
Please Log in or Create an account to join the conversation.
8 years 10 months ago #285894
by nicolas
Replied by nicolas on topic No decimals in pricefilter
Please Log in or Create an account to join the conversation.
Time to create page: 0.076 seconds