Set price filter dynamically

  • Posts: 54
  • Thank you received: 2
9 years 4 months ago #209010

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3

Hi,
I have the same problem stated in the following post of forum.
[url=http://http://www.hikashop.com/forum/filters-search/874169-problem-with-cursor-dynamic-display.html]http://www.hikashop.com/forum/filters-search/874169-problem-with-cursor-dynamic-display.html[/url]I cannot leave the maximum and minimum fields empty and price filter cannot set dynamically.
What should I do?

Attachments:
Last edit: 9 years 4 months ago by mehdikazemi. Reason: Attach a file

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
9 years 4 months ago #209038

Hi,

We're not getting the error with the exact same settings.
Could you try again ?
Do you still have the error ?
Could you provide a backend access so that we could reproduce the issue ?

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

  • Posts: 54
  • Thank you received: 2
9 years 4 months ago #209156

I will send it in private for you.
Thanks.

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

  • Posts: 54
  • Thank you received: 2
9 years 4 months ago #209232

Did you get my private message?

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 4 months ago #209338

Hi,

Nicolas didn't understand your issue because when you got the error message, the inputs for the max and the min are filled with the previous values.
So when he tried, he put values in that fields, like in your screenshot.

The error message is normal because the cursor need these two values and the "dynamic display" does not assure that you will always have min and max prices.
I just create a ticket in order to improve that in the future ; I think that we can find a solution for that.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 54
  • Thank you received: 2
9 years 4 months ago #209407

Thanks for your reply.
In fact, I don't have any problem with those fields. I want price cursor define price min and max dynamically.
I am waiting for your solution.
Bests.

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
9 years 4 months ago #209450

Hi,

I've checked your website and I see that you commented out the getProductList call in the filter view file:
take.ms/Kr5kk
That line is absolutely necessary for the filter system to retrieve the min and max prices from the listing of products on the page in order to use them instead of the ones that you set in your filter.
So that's why it doesn't work.

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

  • Posts: 54
  • Thank you received: 2
9 years 4 months ago #209505

Thank you very much.
Template provider commented that. I removed // and price dynamic setting works like a charm.

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

Time to create page: 0.064 seconds
Powered by Kunena Forum