Using filters as advance search
14 years 10 months ago #30455
by webarts
Using filters as advance search was created by webarts
Hi,
I have created 5 filters and i want to use them as an advance search module. I have publish the module somewhere that there are no products and when i try to filter something using the fields, then the results are the categories of the products instead of the products. I understand that the purpose of this module is to be shown in the category section in order to re-generate and filter the products of the category, this is working fine. But i also want to keep it separately outside the category and use like search in order to return all the relevant products. Is that possible?
Thanks
I have created 5 filters and i want to use them as an advance search module. I have publish the module somewhere that there are no products and when i try to filter something using the fields, then the results are the categories of the products instead of the products. I understand that the purpose of this module is to be shown in the category section in order to re-generate and filter the products of the category, this is working fine. But i also want to keep it separately outside the category and use like search in order to return all the relevant products. Is that possible?
Thanks
Please Log in or Create an account to join the conversation.
14 years 10 months ago #30457
by nicolas
Replied by nicolas on topic Re: Using filters as advance search
Hi,
That module was indeed included in HikaShop to do what you want.
If you don't see the products in the results of the module, it's because you didn't set a hikashop category listing menu's id in the "Menu" option of your filter module.
That module was indeed included in HikaShop to do what you want.
If you don't see the products in the results of the module, it's because you didn't set a hikashop category listing menu's id in the "Menu" option of your filter module.
Please Log in or Create an account to join the conversation.
14 years 10 months ago #30516
by webarts
Replied by webarts on topic Re: Using filters as advance search
Hi Nicolas,
I need the filter module to search and return products within all the categories, not a spesific one. Also i dont want the filter to be shown on the category page of hikashop. I only need to have a universal search module with fields in a separate section of the site
I need the filter module to search and return products within all the categories, not a spesific one. Also i dont want the filter to be shown on the category page of hikashop. I only need to have a universal search module with fields in a separate section of the site
Please Log in or Create an account to join the conversation.
14 years 10 months ago #30524
by nicolas
Replied by nicolas on topic Re: Using filters as advance search
Hi,
Sure, that can be done too.
If you want to hide the filters on the main area, you can add the CSS below:
.hikashop_products_listing_main .hikashop_filter_main_div{ display:none; }
If you want to display the results within all the products, make sure that in the products listing associated to the menu you set in the "menu" option of your module, you set the option "sub element filter" to "all sub elements".
Sure, that can be done too.
If you want to hide the filters on the main area, you can add the CSS below:
.hikashop_products_listing_main .hikashop_filter_main_div{ display:none; }
If you want to display the results within all the products, make sure that in the products listing associated to the menu you set in the "menu" option of your module, you set the option "sub element filter" to "all sub elements".
Please Log in or Create an account to join the conversation.
14 years 10 months ago #30579
by webarts
Replied by webarts on topic Re: Using filters as advance search
Hi Nicolas,
On your first reply you mentioned
"If you don't see the products in the results of the module, it's because you didn't set a hikashop category listing menu's id in the "Menu" option of your filter module."
Can you specify where do we get the category listing menu id. I have tried the following but still displays categories instead of products:
1.
- Create menu item Hikashop -> Category Listing
- Set Hika options after first save
- Assign this menu item id to the module menu id
2.
- Create menu item Hikashop -> Product Listing
- Set Hika options after first save
- Assign this menu item id to the module menu id
Both the above options seem to fail to do what I need them to do.
Can you share some actions that I am missing
Thanks again
On your first reply you mentioned
"If you don't see the products in the results of the module, it's because you didn't set a hikashop category listing menu's id in the "Menu" option of your filter module."
Can you specify where do we get the category listing menu id. I have tried the following but still displays categories instead of products:
1.
- Create menu item Hikashop -> Category Listing
- Set Hika options after first save
- Assign this menu item id to the module menu id
2.
- Create menu item Hikashop -> Product Listing
- Set Hika options after first save
- Assign this menu item id to the module menu id
Both the above options seem to fail to do what I need them to do.
Can you share some actions that I am missing
Thanks again
Please Log in or Create an account to join the conversation.
14 years 10 months ago #30590
by nicolas
Replied by nicolas on topic Re: Using filters as advance search
The first option is the correct one.
But you need to properly set the menu's options and its associated module's options.
Namely, in the associated module of your menu, you need to change the option "sub element filter" to "all sub elements".
But you need to properly set the menu's options and its associated module's options.
Namely, in the associated module of your menu, you need to change the option "sub element filter" to "all sub elements".
Please Log in or Create an account to join the conversation.
14 years 10 months ago - 14 years 10 months ago #30633
by webarts
Replied by webarts on topic Re: Using filters as advance search
Hi Nicolas,
I am attaching a document outlining the whole process with steps how this was tested (method 1 as described above in previous post).
The results of the filtering is again categories instead of products. Can you please identify what should be changed in order for the results of the filter to be products form the chosen category and sub categories
Thanks
I am attaching a document outlining the whole process with steps how this was tested (method 1 as described above in previous post).
The results of the filtering is again categories instead of products. Can you please identify what should be changed in order for the results of the filter to be products form the chosen category and sub categories
Thanks
Last edit: 14 years 10 months ago by webarts.
Please Log in or Create an account to join the conversation.
14 years 10 months ago #30681
by nicolas
Replied by nicolas on topic Re: Using filters as advance search
Hi,
As I said, in the associated module of your menu, you need to change the option "sub element filter" to "all sub elements".
When you're on step 9, you should do that.
As I said, in the associated module of your menu, you need to change the option "sub element filter" to "all sub elements".
When you're on step 9, you should do that.
Please Log in or Create an account to join the conversation.
Time to create page: 0.244 seconds