Filters don't work anymore updating from 4.1.0 to 4.2.1

  • Posts: 50
  • Thank you received: 0
5 years 3 months ago #309294

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.10

Filters on product listings are disabled after updating from 4.1.0 version to 4.2.1
After restoring backup everything back fine
In fact, filters still display on pages but filtering do not apply anymore even if selection still possible
Any though?
Thanks in advance

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

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
5 years 3 months ago #309300

Hi,

With HikaShop 4.2.0 we've made the filters work in AJAX (dynamic refresh of the areas, without a full reload of the page).
So this meant a lot of changes in the view files.
If the filters don't work after the update, this means that you have some view overrides from previous versions of HikaShop that's you'll have to remove/redo.
So after the update, check the files in the folder templates/YOUR_TEMPLATE/html/com_hikashop/product/
There are three main files to look for:
- listing.php
- listing_div.php
- filter.php
If you have them, try renaming them (that will disable them) one by one until you find the one(s) causing the issue.
Once you knwo which files are problematic, you can either:
- keep them renamed if that doesn't change your products listing / filters display (it means the view overrides were unnecessary).
- redo the overrides via the Display>Views based on the new version of the view files.

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

  • Posts: 50
  • Thank you received: 0
5 years 3 months ago #309308

ok thanks, I'll try to go through that
Take care

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

Time to create page: 0.055 seconds
Powered by Kunena Forum