Problem with cursor Dynamic display

  • Posts: 69
  • Thank you received: 1
  • Hikashop Business
9 years 10 months ago #186135

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 2.5
-- Browser(s) name and version -- : FireFox

Hello
I have a text field in one of my product category which contain number from 20 to 300 (for example).
when i create a cursor filter for this category and choose Dynamic display for it in category view the Cursor minimum value is 90 and Cursor maximum value is 105 . (which should be 20 and 300).
Please help me to fix this problem.
regards

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
9 years 10 months ago #186140

Hi,

We've actually fixed a few things since the release of the 2.3.5 regarding the cursor filters.
So first, please download again the 2.3.5 install package via the menu My account>My susbcriptions and install it on your website and see if that helps.
If not, please provide a link to the page with the filter and a screenshot of the options of the filter so that we can analyze the situation.

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

  • Posts: 69
  • Thank you received: 1
  • Hikashop Business
9 years 10 months ago #188050

nicolas wrote: Hi,

We've actually fixed a few things since the release of the 2.3.5 regarding the cursor filters.
So first, please download again the 2.3.5 install package via the menu My account>My susbcriptions and install it on your website and see if that helps.
If not, please provide a link to the page with the filter and a screenshot of the options of the filter so that we can analyze the situation.

Hello
I download and update hikashop but not fixed.
open this link:
www.instrucenter.com/fa/portable-hiumidity-meter

there is a filter named Max Humidity (%RH) that cursor is 99.9 to 100
but some product are less than 99.9. for example for this link it is 95 :
www.instrucenter.com/fa/portable-hiumidi...-meter-model-lm-81ht

screen shot is attached.

Attachments:

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

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

Hello,
Note that you can manually define the minimum and maximum values of your cursor through your filter configuration page, you'll just have to use the "Cursor Minimum/maximum value" option.

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

  • Posts: 69
  • Thank you received: 1
  • Hikashop Business
9 years 9 months ago #188235

Mohamed Thelji wrote: Hello,
Note that you can manually define the minimum and maximum values of your cursor through your filter configuration page, you'll just have to use the "Cursor Minimum/maximum value" option.

Hello Mohamed
Yes I know, but my product list change and custom filter min and max change. so i need dynamic max and min.

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

  • Posts: 69
  • Thank you received: 1
  • Hikashop Business
9 years 9 months ago #189207

Hello again
nobody can help me to fix this bug?

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

  • Posts: 2143
  • Thank you received: 747
9 years 9 months ago #189208

babaei wrote: Yes I know, but my product list change and custom filter min and max change. so i need dynamic max and min.


Hi,

You should leave the min/max fields for the filter of type "Cursor" empty. The values will then be found and set automatically, depending on the products selected by menu or module configuration and possibly other active filters.

As it says in the documentation and help:
"Maximum and Minimum value: Allow you to specify a maximum and minimum value instead of 0 and the maximum automatically found."


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 69
  • Thank you received: 1
  • Hikashop Business
9 years 9 months ago #189210

lousyfool wrote: You should leave the min/max fields for the filter of type "Cursor" empty. The values will then be found and set automatically, depending on the products selected by menu or module configuration and possibly other active filters.
"

As you know if I leave the max/min fields I will see this error:
Error: You have to define a maximum and a minimum value for your cursor.
so I have to define a small min and big max.
And as i said in first topic, the problem is with Dynamic display. when i active Dynamic display i see a min and max in front end that is not correct.
open this link:
www.instrucenter.com/fa/portable-hiumidity-meter

there is a filter named Max Humidity (%RH) that cursor is 99.9 to 100
but some product are less than 99.9. for example for this link it is 95 :
www.instrucenter.com/fa/portable-hiumidi...-meter-model-lm-81ht

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

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

Hello,
Can you give us more information about your issue like how did you configured your cursor filter through some screenshots ?
Thanks.

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

  • Posts: 69
  • Thank you received: 1
  • Hikashop Business
9 years 9 months ago #189301

Mohamed Thelji wrote: Hello,
Can you give us more information about your issue like how did you configured your cursor filter through some screenshots ?
Thanks.

Hello
I attached screenshot again, please check configuration and help me.
Regards

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
9 years 9 months ago #189355

Hi,

Mohamed was talking about the filter settings, and the screenshot given is for the custom field settings.
So please give us the asked screenshot ;)

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

  • Posts: 69
  • Thank you received: 1
  • Hikashop Business
9 years 9 months ago #189356

Xavier wrote: Hi,

Mohamed was talking about the filter settings, and the screenshot given is for the custom field settings.
So please give us the asked screenshot ;)

sorry i made a mistake. the screen shot is attached. please check it.

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
9 years 9 months ago #189402

Hi,

I have set up the same custom field, same filter, set values in my filtre like "95" "98" "99" and "99.9" but I am not able to reproduce the issue on my end. The cursor filter display correct values.

Please give us a backend access to your website. You can send it via private message or via our contact form.
In both case, don't forget to give the url to that topic in the message.

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

  • Posts: 13201
  • Thank you received: 2322
9 years 9 months ago #189516

Hi,

All the settings seems to be correct. So we will need a FTP access to debug that issue directly on your website.
As temporary solution, using that filter without the Dynamic display could be an option ?
Without the dynamic, it is working pretty fine.

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

  • Posts: 69
  • Thank you received: 1
  • Hikashop Business
9 years 9 months ago #189883

Xavier wrote: Hi,

All the settings seems to be correct. So we will need a FTP access to debug that issue directly on your website.
As temporary solution, using that filter without the Dynamic display could be an option ?
Without the dynamic, it is working pretty fine.


Hello Xavier and thanks for your help. I sent ftp account as private message. please check it.

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

  • Posts: 13201
  • Thank you received: 2322
9 years 9 months ago #190032

Hi,

The FTP login informations don't seem to be correct, I am not able to connect to the server.

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

  • Posts: 13201
  • Thank you received: 2322
9 years 8 months ago #192367

Hi,

I have added a fix, a very specific code for your case.
So it seems to be working as expected, we will have to do further tests and improvements to make it more general.

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

  • Posts: 69
  • Thank you received: 1
  • Hikashop Business
9 years 8 months ago #192372

Xavier wrote: Hi,

I have added a fix, a very specific code for your case.
So it seems to be working as expected, we will have to do further tests and improvements to make it more general.


Hello Xavier and thanks for your help
I wonder if you tell me which file(s) did you fix and which code.
regards

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

  • Posts: 13201
  • Thank you received: 2322
9 years 8 months ago #192373

I have edited the file "administrator/components/com_hikashop/classes/filter.php" function "display()" of the class "hikashopCursorClass()". The code I added is commented ;)

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

  • Posts: 24
  • Thank you received: 0
9 years 8 months ago #192548

Hello,

Maybe I can help a little. I think I had about the same problem.

I had a custom field with number from 26 to 246.
If I try to do create a filter on this field it only display numbers 99-100.
I think that's because the filtering is comparing the same "number of caracters" ?

As a temparary fix, I modified my data so now it's 026 to 246
-> Same number of digits : the filter is working properly.

Best regards

Last edit: 9 years 8 months ago by dezajn. Reason: typos

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

Time to create page: 0.138 seconds
Powered by Kunena Forum