- Posts: 39
- Thank you received: 4
Filter module keeps displayed
6 years 2 months ago - 6 years 2 months ago #321762
by Robby
Filter module keeps displayed was created by Robby
-- url of the page with the problem -- : kaldiboz.nl/shop
-- HikaShop version -- : 4.3.0
-- Joomla version -- : latest
-- PHP version -- : 7.4
-- Browser(s) name and version -- : multiple browser
-- Error-message(debug-mod must be tuned on) -- : none
Hi, have a strange issue.
I am running the filter module (only visible for administrators).
See 'FIlterGoed' for how it looks in the category
I disabled the filter (see settings) in the product
But in the product it still shows an empty column (image ZouLeegMoetenZijn).
Any idea what causes this?
-- HikaShop version -- : 4.3.0
-- Joomla version -- : latest
-- PHP version -- : 7.4
-- Browser(s) name and version -- : multiple browser
-- Error-message(debug-mod must be tuned on) -- : none
Hi, have a strange issue.
I am running the filter module (only visible for administrators).
See 'FIlterGoed' for how it looks in the category
I disabled the filter (see settings) in the product
But in the product it still shows an empty column (image ZouLeegMoetenZijn).
Any idea what causes this?
Last edit: 6 years 2 months ago by Robby.
Please Log in or Create an account to join the conversation.
6 years 2 months ago #321765
by nicolas
Replied by nicolas on topic Filter module keeps displayed
Hi,
That's a common issue:
www.hikashop.com/forum/filters-search/89...-display-always.html
Besides modifying the template's PHP to check that the modules HTML is empty before displaying the area, the only other solution is to add some CSS to check if the div of the area is empty and if so, hide it with display:none;
developer.mozilla.org/en-US/docs/Web/CSS/:empty
That's a common issue:
www.hikashop.com/forum/filters-search/89...-display-always.html
Besides modifying the template's PHP to check that the modules HTML is empty before displaying the area, the only other solution is to add some CSS to check if the div of the area is empty and if so, hide it with display:none;
developer.mozilla.org/en-US/docs/Web/CSS/:empty
Please Log in or Create an account to join the conversation.
6 years 2 months ago #321893
by Robby
Replied by Robby on topic Filter module keeps displayed
I didn't totally understand this, so I solved it in a different way and I am putting it here so others can also learn this.
I use Advanced Module Manager and selected the module to display in certain categories
Within the module I select to NOT display the filter module on the product itself (but this leads to an empty column)
So what I did (within the module) is go to the Advanced Module Manager properties ' url' and exclude.
Here I manually filled the machines where I don't want the filter to display. Since this is around 20 it's not that much work
I am pretty sure it can be done with a regular expression OR CSS or Template changes, but this was a quick fix for now
Hope somebody else learns something from this while having the same issue.
I use Advanced Module Manager and selected the module to display in certain categories
Within the module I select to NOT display the filter module on the product itself (but this leads to an empty column)
So what I did (within the module) is go to the Advanced Module Manager properties ' url' and exclude.
Here I manually filled the machines where I don't want the filter to display. Since this is around 20 it's not that much work
I am pretty sure it can be done with a regular expression OR CSS or Template changes, but this was a quick fix for now
Hope somebody else learns something from this while having the same issue.
The following user(s) said Thank You: nicolas
Please Log in or Create an account to join the conversation.
Time to create page: 0.184 seconds