- Posts: 47
- Thank you received: 0
filter disappear after selection of item
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.5.12
Hi,
I created 3 types of filter on my products. I want to filter them by color, size and price. user must click on the filter button to activate the filter.
when I choose a color for example, the list of colors disappear and we can see just the selected color(s).
how can I display the list of colors and the selected colors at the same time?
I wish also to put a border to a color (like picture filter3) if we click on it, and remove the border if we click twice on the same color.
Thank you
Please Log in or Create an account to join the conversation.
Try to switch the "Deletable filter" option or the "Dynamic display" otpion of your color filter.
One of the combinations should allow you to keep all the values displayed I think.
Regarding the border of a selected color, I suppose that you're using a radio type filter. In that case, you should be able to do it with some CSS code. Something like that:
.hikashop_filter_checkbox input[type="radio"]:checked+label{
// your CSS code for the border of the label of a selected color
}
Such CSS can be added to the frontend CSS file of HikaShop as explained here:
www.hikashop.com/support/support/documen...ize-the-display.html
Please Log in or Create an account to join the conversation.
I tried to switch the two options with different combination but there is no change.
I attach you the details of my filter.
If I put Deletable filter to no, the delete button disappear.
Thank you for the border of selected color, it works.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
And are your color filter displaying ? I've tested it with the "Deletable filter" option set to NO and the "Dynamic display" option set to YES and it worked as you want.If I put Deletable filter to no, the delete button disappear.
Please Log in or Create an account to join the conversation.
i wish have both but it's ok, I can accept this solution.
thank you
Please Log in or Create an account to join the conversation.
I've toggled all the settings and nothing works correctly. Turning off dyanmic display will show keep all of them visible but it shows filters which are not in the current category and subcategories.
HikaShop Business: 2.6.1
Please Log in or Create an account to join the conversation.
We'll need more information to be able to help.
Could you provide a link to the page you're talking about and screenshots of your filters ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
In your case you have to enable the "dynamic display" option in order to have only the filters related on the listed products.
And you should disable the "Submit on click" option, that way the customer will be able to check more than one checkbox at the same time.
But we can't display only the filters related on the listed products and keep them all after filtering on one of them.
Please Log in or Create an account to join the conversation.
It has the same settings as another site but it only works on that site fp.designvoodoo.com/buy/ordering/category/44-mock-deli.html and I don't know why I can't getting working on this site fs.designvoodoo.com/shop/category/12-women.html .
Please Log in or Create an account to join the conversation.
It is working the same way on the two websites. But on the first one, there is "Gluten free" and "Soy free" products.
That's why the two filters are still displayed.
But on the second website there is no "Tees" and "Jackets" products. This is the reason why the second filter disappear.
Please Log in or Create an account to join the conversation.
Can I force it to always show the filters for the current category products? So that it doesn't filter the filters when a filter is selected. So that it doesn't adapt to the visible products, I want it to just select the filters from the current category without taking into account what filter is currently selected.
Please Log in or Create an account to join the conversation.
There is no option to do that.
Please Log in or Create an account to join the conversation.