There are digits after period (may be bug?)

  • Posts: 2293
  • Thank you received: 315
4 years 2 months ago #315499

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.15

I don't need digits after period in prices.
So I disable it in currency settings.
But they still appears in the filter.
What should I do?
Or I think this is a bug?




Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!
The following user(s) said Thank You: makestore24

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

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
4 years 2 months ago #315517

Hi,

I don't see the problem on my end.
It looks like either you don't have the 4.2.2 or your filter is not configured on the "price".
Could you provide a screenshot of the settings of your filter (in English please).
Normally, the filter should indeed use the settings of the currency, and thus you should also see the currency symbol there. Since you don't, either you don't have the improvements to display the price based on the currency settings or you're not filtering prices (that could happen if you use the "product_sort_price" instead of "price" for example.

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

  • Posts: 28
  • Thank you received: 0
4 years 2 months ago #315520

All my settings are correct, but the extra zeros are displayed.

Attachments:
Last edit: 4 years 2 months ago by makestore24.

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

  • Posts: 28
  • Thank you received: 0
4 years 2 months ago #315531

I purchased the Hikashop business version and want everything to work. Help get rid of unnecessary zeros.

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

  • Posts: 2293
  • Thank you received: 315
4 years 2 months ago #315534

makestore24 wrote: I purchased the Hikashop business version and want everything to work. Help get rid of unnecessary zeros.


Nicolas have to answer all the questions on this forum, so let him some time to settle the problem. He return to this thread later. Let's wait.


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

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

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
4 years 2 months ago #315542

Hi,

Then maybe you have an old build of the 4.2.2.
Try to download again the install package on our website and install it on yours to make sure you have all the patchs.
If that doesn't help, please provide a link to a page with that filter so that we can look at the situation and check the javascript handling that filter.

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

  • Posts: 28
  • Thank you received: 0
4 years 2 months ago #315555

Reinstalling Hikashop did not help.
makestore24.ru/gift/

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

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
4 years 2 months ago #315569

Hi,

First, I can see a problem with the format.
It should be either %n or %i
Other values there are not supported by the cursor system.
Also, there is something I don't understand on your end. You have the tooltip setting set to false, false:
monosnap.com/file/JeFEY6C7Yjce8nvx0TmWjJrgkGDfEH
But based on the code we have by default in administrator/components/com_hikashop/classes/filter.php, that should only happen when the "input" setting is turned on in the settings of your filter:
monosnap.com/file/nvnpxzyb05fGOAKGPQ3WNk78D829Cs
But in such case, you should see the input fields, which isn't the case.
So there is something crutial here which isn't working as it is on my end.
I'm afraid I'll need a backend and a FTP access in order to directly check on the issue on your website to be able to understand what's going on regarding this.
Could you provide that along with a link to this thread via our contact form ?
www.hikashop.com/support/contact-us.html

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

  • Posts: 28
  • Thank you received: 0
4 years 2 months ago #315582

sent

Last edit: 4 years 2 months ago by makestore24.

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

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
4 years 2 months ago #315600

Hi,

Well, I don't know what you did but it works properly on your website now that I'm checking it.
When I turn on the "input fields" setting of the filter, I get the input fields with the currency symbol after the input and you've added some CSS to hide it.
Regarding the rounding of the value in the input, it's normal it's not rounded but it could be improved. So I've added a patch to round the prices as needed in the input. It's working fine now on your website and we'll add that patch on our end too.
And when I turn off the "input fields" setting of the filter, I get the tooltips with the price without the decimals, as expected:
monosnap.com/file/3C48HoILA6IeiuvaoNb4aJQE76WNF0
I suppose it might be linked to the changing of the format of the currency you did in the backend as I recommanded.

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

  • Posts: 28
  • Thank you received: 0
4 years 2 months ago #315604

Thank you!

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

Time to create page: 0.094 seconds
Powered by Kunena Forum