Skip to main content

Set price filter dynamically

11 years 3 months ago - 11 years 3 months ago #209010 by mehdikazemi
-- 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] www.hikashop.com/forum/filters-search/87...dynamic-display.html [/url]I cannot leave the maximum and minimum fields empty and price filter cannot set dynamically.
What should I do?
Last edit: 11 years 3 months ago by mehdikazemi. Reason: Attach a file

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

11 years 3 months ago #209038 by nicolas
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.

11 years 3 months ago #209156 by mehdikazemi
I will send it in private for you.
Thanks.

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

11 years 3 months ago #209232 by mehdikazemi
Did you get my private message?

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

11 years 3 months ago #209338 by Jerome
Replied by Jerome on topic Set price filter dynamically
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.

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

11 years 3 months ago #209407 by mehdikazemi
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.

11 years 3 months ago #209450 by nicolas
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.

11 years 3 months ago #209505 by mehdikazemi
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.062 seconds
Powered by Kunena Forum