- Posts: 56
- Thank you received: 0
Filters don't work anymore updating from 4.1.0 to 4.2.1
7 years 2 months ago #309294
by Pgva
Filters don't work anymore updating from 4.1.0 to 4.2.1 was created by Pgva
-- 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
-- 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.
7 years 2 months ago #309300
by nicolas
Replied by nicolas on topic Filters don't work anymore updating from 4.1.0 to 4.2.1
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.
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.
7 years 2 months ago #309308
by Pgva
Replied by Pgva on topic Filters don't work anymore updating from 4.1.0 to 4.2.1
ok thanks, I'll try to go through that
Take care
Take care
Please Log in or Create an account to join the conversation.
Time to create page: 0.187 seconds