- Posts: 63
- Thank you received: 2
button to reset filter?
i have set up filters for my products. is there anyway i can put a reset button within the form which when clicked will reset all the filters.
thanks
Please Log in or Create an account to join the conversation.
No there is no option to have a button to reset all the filters at once. But in your filters you have an option to have a delete button to remove the selection for each filter.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
thanks
Please Log in or Create an account to join the conversation.
Second, if you have that problem with the latest version, could you do a screnshot of the options of your filter so that we can reproduce the problem on our end ?
Please Log in or Create an account to join the conversation.
here are the screenshots of both filter options and error message at the front end.
thanks
Please Log in or Create an account to join the conversation.
if(is_array($field->field_value)){
to:
if(isset($field->field_value) && is_array($field->field_value)){
in that file administrator/components/com_hikashop/classes/filter.php
and that should not display the error anymore.
Please Log in or Create an account to join the conversation.
thanks
Please Log in or Create an account to join the conversation.
I know that you activated the dynamic option of the filter, so it will only display the possible values for the filter. The error you had meant that there were no value found for the products in the listing.
It's hard to say anything more about that problem without looking at the behavior of your filters directly on the page. But I would say that deactivating the dynamic option of the filter should already help a lot.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
thanks for the fix but i am still having problems. the deleteable filters are still not working fine. send you the details in private message please check.
thanks
Please Log in or Create an account to join the conversation.