Filters and refresh page

  • Posts: 23
  • Thank you received: 0
11 years 3 months ago #120394

-- HikaShop version -- : 2.2.0
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.3.27

Hi,

I created three filters with the option Submit onclick but when I click the first one, it makes a page refresh, but I don't what a refresh until all the filters are selected. And only with the option of Submit onclick I cant set the option Dynamic display. Is there a way to make an ajax call at those filters?

Regards

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
11 years 3 months ago #120406

Hi,

The dynamic display option can be used without the submit on click activated, although it means that the filters values won't be loaded until you click on the submit button.
There is no ajax call easily possible for them.

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

  • Posts: 23
  • Thank you received: 0
11 years 2 months ago #120420

So this is quite strange because if I disabled the Submit onclick option the Dynamic display stops working. I'm using custom fields to filter my products and when I select the first option there's no filtering through the others filters, is something like this: http://demo.rsjoomla.com/dynamic-drop-down-change-form-example

Thanks

Last edit: 11 years 2 months ago by cipionhabla.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
11 years 2 months ago #120492

If you disable the "submit on click", the dynamic display should still work.
Here is how you need to test it:
Once you select the value on the first filter, click on the "filter" button. Then, that will reload the whole page and the second filter should be contain only the values calculated dynamically based on the selection in the first filter.
As I said, there is no ajax reload of the filters in HikaShop. The whole page needs to be reloaded.

The following user(s) said Thank You: cipionhabla

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

Time to create page: 0.061 seconds
Powered by Kunena Forum