Pagination with filters

  • Posts: 5
  • Thank you received: 0
8 years 5 months ago #220130

-- url of the page with the problem -- : www.plcdirect.eu
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- Error-message(debug-mod must be tuned on) -- : Pagination

Hi,

how can i disable remembering pagination in hikashop when using a filter? Normally its okay to remember on which page you are. However if i am on the 2nd page and start using filters it looks like there are no results because they are all on the 1st page.

If i set the redirect Post to YES it will not remember anything at all and we prefer that the system normally remembers the page.

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

  • Posts: 81563
  • Thank you received: 13071
  • MODERATOR
8 years 5 months ago #220141

Hi,

Turn on the "redirect POST mode" setting of the HikaShop configuration.

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

  • Posts: 5
  • Thank you received: 0
8 years 5 months ago #220223

Hi Nicolas,

Thanks for your reply.

If i turn on this option he 'forgets' always on which page the visitor is. And i only want that he goes to the first page when using a filter. All other cases he may remember on which page the visitor is.

Is this possible?

Best regards,

Maarten

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

  • Posts: 55
  • Thank you received: 1
8 years 1 month ago #232351

Hello there,

Does anybody knows hot to fix it?

The same for me - if somone is on 3rd page (for example) and add some filters then if qty of results is less than 3 pages nothing shows.

How to disable pagination remembering or to reset pagination on Filter button?

Best Regards

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

  • Posts: 55
  • Thank you received: 1
8 years 1 month ago #232352

For information, Post Mode is not solving problem.

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

  • Posts: 81563
  • Thank you received: 13071
  • MODERATOR
8 years 1 month ago #232353

Hi,

Download the install package on our website and install it on your website. It will add a patch for that that we added to it recently.

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

  • Posts: 55
  • Thank you received: 1
8 years 1 month ago #232929

Dear Nicolas,

We have newest version, but I did what You propose. No results - same problem.

Our ver is: HikaShop Business 2.6.1 [1603091603]

What other possibilities we have?
Best regards.

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

  • Posts: 55
  • Thank you received: 1
8 years 1 month ago #232930

For example You can go to this site:



Those are power supplies so I think you can handle with polish :) www.shemeck.pl/produkty/category/265-wyszukaj-wszystkie

And get from first filter "typ zasilacza" value - "DIN" (and click filter). Then go to 3rd page and get from second filter "napiecie wyjsciowe" value 24V and also click filter. Then You will see that nothing there and I'm sure that when You do the same on 1st page You will see results.

Best Regards

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

  • Posts: 81563
  • Thank you received: 13071
  • MODERATOR
8 years 1 month ago #233119

Hi,

We're not able to reproduce the problem on our end.
The patches on our end definitely fix the issue.
Could you provide a FTP access to that website via our contact form (along with a link to this thread) so that we can look at the issue ?

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

  • Posts: 81563
  • Thank you received: 13071
  • MODERATOR
8 years 1 month ago #233351

Hi,

I was able to log on your FTP.
From what I can see the problem is with the settings data of the menu item.
Go in the joomla menu manager, edit your menu item, and save it.
That should hopefully refresh the menu item data with the new menu options system and hopefully fix the problem.

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

  • Posts: 55
  • Thank you received: 1
8 years 1 month ago #233383

Dear Nicolas,

Do You mean menu item -. category display? "SKLEP"?

If Yes I did it, but no results. We have also other site and problem is the same. Maybe something with new joomla?

Best Regards

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

  • Posts: 81563
  • Thank you received: 13071
  • MODERATOR
8 years 1 month ago #233385

Hi,

Yes, I'm talking about the menu item on that page (id 132).
If saving didn't help, please recreate the menu item with the same settings to replace the one you're using.
It should be enough.
If that also doesn't help please provide a backend access to your website.

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

  • Posts: 55
  • Thank you received: 1
8 years 1 month ago #233476

Dear Nicolas,

It doesn't help. I tried also on other website with the same results. What next? Could we just maybe reset pagination when pushbutton filter is pushed?


btw is it Yours: JLIB_HTML_PAGE_CURRENT_OF_TOTAL? It is on filter page?

Best Regards

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

  • Posts: 13201
  • Thank you received: 2322
8 years 1 month ago #233494

Hi,

Please provide a backend access via our contact form.
Don't forget to give a link to that topic in your message.
www.hikashop.com/support/contact-us.html

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

  • Posts: 13201
  • Thank you received: 2322
8 years 1 month ago #233606

Hi,

This issue is very strange. We fixed it last week but on your configuration it does not work as expected.
There is issues with the ids set in the filter and get in the listing.

Could you try to turn off the "Redirect post mode" option for testing purpose (I don't have access to the HikaShop config on your site) ?

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

  • Posts: 55
  • Thank you received: 1
8 years 1 month ago #233632

Hello Xavier,

We also test it without redirect mode feature with the same results, but I switched it off now for You . Additionally I made You a suser so now I think You have access for everything You need to.

Like I wrote before. We have also another site with different configuration with same problem.

Best Regards
SHEMECK

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

  • Posts: 13201
  • Thank you received: 2322
8 years 1 month ago #233828

Hi,

I spent a lot of time on your website until I find that there is no issues in our code.

The page: www.shemeck.pl/produkty/category/265-wyszukaj-wszystkie is using a module to display the products.
But it should not, the products should be displayed by the menu as in any other categories.

So this module has issues in pagination with filter because it is a module inside a menu, this module should not have any pagination, so it is already a good point that the pagination is working and filters too ;) , but combine the two will require custom code as it is not made for that.

May I ask why you are using this module and not displaying the products thanks to the menu as any other categories ?
If it is just to have a different layout than the other listings, you can potentially edit the view "product / listing_list" and thanks to a if condition based on the category id display one layout or another one.

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

  • Posts: 55
  • Thank you received: 1
8 years 1 month ago #233850

Hello Xavier.

I'm glad to hear that everything in Your code works fine, not so glad, that You spend a lot of time on website :huh: . It was a lot of job for You.

It is very strange because it worked before. I don't remember in what version, because I didn't check this issue for a long time. Same problem I had about year ago with POST mode, but I just switched off POST and everything was fine.

It is not for other layout (or maybe and we just know about it :) ). It is because some of people search those products in two different way:

1. By categories / models
2. By type/voltage etc.

For that reason we need searching for all and step by step finding. For all Mean Well Products

Do You think it is possible to make it other way and it will look the same?

Thanks for Your invastigation

Best Regards
Shemeck

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

  • Posts: 55
  • Thank you received: 1
8 years 1 month ago #233853

Dear Xavier,

Do You have a list of changes that You made, now I'm trying to back to my settings and views. Some of changes made by You still there.

Best Regards

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

  • Posts: 55
  • Thank you received: 1
8 years 1 month ago #233854

After those changes

My css is to not showing: #hikashop_category_information_menu_132 .hikashop_submodules { display:none; } is not working
and for my filter page have: JLIB_HTML_PAGE_CURRENT_OF_TOTAL on bottom of page.

Best Regards

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

Time to create page: 0.114 seconds
Powered by Kunena Forum