Show categories in filtered products

  • Posts: 1025
  • Thank you received: 11
  • Hikashop Business
3 years 2 months ago #327897

Hello everybody and wishes for a happy new year.
I could use your experience in this because I m stack
I need to show a module with the categories belonging to the filtered products.
So I created a new filter that filters the categories and created a module to show it.
I need some help because it doesn t work as I need it.

In the following screenshots you can see the settings

in screenshot 2 when you click anycheckbox from sidebar you get an error in the console

hikashop.js?v=430:923 Uncaught TypeError: Cannot read property 'newURL' of null
    at hikashop.js?v=430:923
    at XMLHttpRequest.xhr.onreadystatechange (hikashop.js?v=430:206)
so I cannot fire the search again.

What I want to do is to display the categories that the filtered products have.

Attachments:

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
3 years 2 months ago #327915

Hi,

This looks like a bug that we fixed about a year ago.
Which version of HikaShop are you using ? Do you have override files in the folder templates/YOUR_TEMPLATE/html/com_hikashop/product/ ? If so, if you rename that folder temporarily, does it work fine ?

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

  • Posts: 1025
  • Thank you received: 11
  • Hikashop Business
3 years 2 months ago #327923

I tried but it doesn t I renamed the whole com_hikashop to 1com_hikashop to check.
Is there any other way to show the categories of the filtered product?

This message contains confidential information

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

  • Posts: 4486
  • Thank you received: 609
  • MODERATOR
3 years 2 months ago #327933

Hello,

Please can you process the test asked by Nico and modify the folder name ?
Follow me step by step :
1. Go in your folder "product"
Your_WebSite\templates\Your_Template\html/com_hikashop/product/
2. Modify the folder name, for by example product => product1
3. Process again a test, and make us your returns to allow us to progress on your issue.

Regards

Last edit: 3 years 2 months ago by Philip.

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

  • Posts: 1025
  • Thank you received: 11
  • Hikashop Business
3 years 2 months ago #327942

But as I already posted , i did it. I renamed and tried with no lack

Uncaught TypeError: Cannot read property 'newURL' of null
at hikashop.js?v=440:931
at XMLHttpRequest.xhr.onreadystatechange (hikashop.js?v=440:206)

Last edit: 3 years 2 months ago by verzevoul.

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
3 years 2 months ago #327963

Hi,

Note that after you rename that folder, you need to:
- clear any cache you might have on your website
- refresh the page of the listing on the frontend to make sure you have the new code there
So please try like that.
If, even with that, it still doesn't work, we would need a backend and FTP access to directly check on the situation.
In that case, you can provide such access along with a link to this thread via our contact form:
www.hikashop.com/support/contact-us.html

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

  • Posts: 1025
  • Thank you received: 11
  • Hikashop Business
3 years 2 months ago #328026

Hello !
I tried from a different browser but no luck.
I ve send you ftp.

Thanks in advance

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

  • Posts: 1025
  • Thank you received: 11
  • Hikashop Business
3 years 2 months ago #328221

Hello!
Did you have time to check?
I ve send you ftp

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

  • Posts: 1025
  • Thank you received: 11
  • Hikashop Business
3 years 2 months ago #328371

Hello again.
Did you have the time to check?

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

  • Posts: 1025
  • Thank you received: 11
  • Hikashop Business
3 years 2 months ago #328491

Also please confirm if you succeded connecting with sftp

Thanks

Last edit: 3 years 2 months ago by verzevoul. Reason: found the renamed override

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

Time to create page: 0.079 seconds
Powered by Kunena Forum