Cursor: Customize value format

  • Posts: 217
  • Thank you received: 4
9 years 5 months ago #203367

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.4

Hello,

I would like how can I customize values in cursor filter:

Now:

6000 - 14000

Desired:
6 000 - 14 000 Kč

Thank you
Filip

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
9 years 5 months ago #203372

Hi,

For the space of the thousands, it's going to be hard to do. Adding the currency next to the prices will be easier. In fact, we've added some code to support that in next version of HikaShop.
You can replace the file administrator/components/com_hikashop/classes/filter.php with the one in this archive and that should do it automatically:

File Attachment:

File Name: filter_2015-05-31.zip
File Size:16 KB


Please make sure you have a backup of the old file as this patch is meant for the 2.4.0 release, not the 2.3.5 so it could potentially break something (but I don't think it will).

Attachments:
Last edit: 9 years 5 months ago by nicolas.

Please Log in or Create an account to join the conversation.

  • Posts: 217
  • Thank you received: 4
9 years 5 months ago #203422

Hello,

thank you,

but it has no effect on currency in cursor label.

Any other idea?

Filip :)

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
9 years 5 months ago #203474

Hi,

I tested it on my end and it worked fine.
I would have to look directly that the website with a link to the page with the filder and a FTP access to check why it wouldn't work on your website.
Would it be possible to provide that via our contact form along with a link to this thread ?

The following user(s) said Thank You: FilipHradil

Please Log in or Create an account to join the conversation.

  • Posts: 217
  • Thank you received: 4
9 years 5 months ago #203527

Yes! I just send it.

Thank you!


Filip

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
9 years 4 months ago #206358

Hello Filip,
Sorry for the late reply, If you still have that issue, can you download the last Hikashop version through our website, install it and test it again ?
Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 217
  • Thank you received: 4
9 years 4 months ago #206422

Hello Mohamed,

thank you, but I solved it by using sort by price instead of cursor.

Filip

Please Log in or Create an account to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum