Filter Issue with SH404SEF

  • Posts: 356
  • Thank you received: 7
  • Hikashop Business
3 years 11 months ago #318626

-- HikaShop version -- : 4.2.3
-- Joomla version -- : 3.9
-- PHP version -- : 7.3

Hi,

Please navigate to the link provided and then use the filter on the left hand side to select a brand (or any othe filter option). Notice the filter messes up. This happens with sh404sef turned on. We need sh404sef on for a number of different fucntions.

Many thanks.

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

  • Posts: 4519
  • Thank you received: 612
  • MODERATOR
3 years 11 months ago #318637

Hello,

We have process some tests in order to better understand the situation and try to get the root issue, so far I see that you have strange behavior of your module filter, maybe link to javascript error ?

In order to going more far can you :
- Process some tests with a default template (like ProtoStar)
- Provide all your filter relative settings via screenshots

Awaiting news from you to progress on your subject.
Regards

Last edit: 3 years 11 months ago by Philip.

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

  • Posts: 356
  • Thank you received: 7
  • Hikashop Business
3 years 11 months ago #318706

Hi

Ok It seems the issue is SEF and then the fact there is two filters on one page.

If I turn the search filter at the top of the page off the side filter works.

Its the same for other templates.

Please help :)

Attachments:

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

  • Posts: 20
  • Thank you received: 1
  • Hikashop Business
3 years 11 months ago #318747

Hi grayt7, I use multiple filters with SH404SEF. This is my suggestion:
On first application of the filters they collapse and disappear except perhaps the search filter.
Locate the page in the SH404SEF 404 log and it will have an index.php suffix. (Just search for index.php in the 404 log and you will find affected pages)
Click 'Redirect to a SEF URL'. Then in the pop up, select the lower left hand drop down 'Show only similar URLS' and change that to 'Show All SEF URLS' Then copy and paste or enter the page URL without the index.php to find the correct page, select it with the checkbox and click Select Redirect Target.
On redirecting that page to the 'correct' sef url the filters should then work.
Do this for every page that requires the filter module (apply the filters to generate the error, then redirect it.)
You will notice that 404 records will appear in the 404 log but the action of the filters and the loading of the page will not be affected. This is because the SEF component cannot be made aware of the AJAXian filters.

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

  • Posts: 356
  • Thank you received: 7
  • Hikashop Business
3 years 11 months ago #318749

Hi speru

Thanks for the suggestion.

I did try what you suggested.

Int he 404 logs I found
www.totalfootballdirect.com/equipment/vi...t-products/index.php

Then redirected to:
www.totalfootballdirect.com/equipment/vi...l-equipment-products

But this still doesn't seem to fix the issue?

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

  • Posts: 20
  • Thank you received: 1
  • Hikashop Business
3 years 11 months ago #318751

Have you got any caching turned on, especially url caching in SH404SEF?
If so clear it all.

Last edit: 3 years 11 months ago by speru. Reason: typo

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

  • Posts: 20
  • Thank you received: 1
  • Hikashop Business
3 years 11 months ago #318752

Just my suggestion, but I would also make the filters deletable and dynamic.

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

  • Posts: 356
  • Thank you received: 7
  • Hikashop Business
3 years 11 months ago #318753

I would like for customers to select more of one option when filtering - dynmaic yes that needs to be done - but at the moment I just want them to work.

Clearing cache does not solve the issue. Thank you.

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

  • Posts: 20
  • Thank you received: 1
  • Hikashop Business
3 years 11 months ago #318755

I see com_sh404sef referenced in the filter data-refresh-url - have you got 'try to redirect 404's' turned on? If so, may want to try without, as the filters always generate 404's.

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

  • Posts: 356
  • Thank you received: 7
  • Hikashop Business
3 years 11 months ago #318763

Hi

I have found a fix. In sh404sef please slect Automatic redirection fo none sef urls to sef urls.

I have another issue. Plese see setting for category filter attached.

if setup was

Cat 1
Sub cat 1
Sub cat 2
Cat 2
Sub cat 1


Then we navigated to Cat 1 I would expect Sub cat 1 and 2 to display in the filter? This is not happening - I can't even describe what its showing its odd.

Do I have the settings wrong? How would I achieve this?

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
3 years 11 months ago #318927

Hello,

I think you filter information were not properly used.

The "Category" option from the "Main information" tab is used to only display this filter field on pages of that category, and the "Including sub categories" option is used to also display it on these sub categories.

The "Category" option from the "Options" tab is used to control which categories to display.

Kind regards,
Mohamed.

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

Time to create page: 0.104 seconds
Powered by Kunena Forum