Search Plugin - Format Results
I am interested in formating results send back from "HikaShop products search plugin". I need to
1. Also display the image of the products
2. Display custom fields as well
Can you let me know if this is possible to do and how?
Thanks
Please Log in or Create an account to join the conversation.
The results are displayed by Joomla in a view of com_search. You will have a hard time trying to do it.
One simpler approach is to use a filter like we did on our demo website's home page with the hikashop filter module near the bottom:
www.demo.hikashop.com/index.php?lang=en
It uses the filtering system coupled with a standard HikaShop products listing menu so that you can easily configure the display of the result products like you do with your products listings:
www.hikashop.com/en/support/documentatio...-filter-listing.html
Please Log in or Create an account to join the conversation.
that was our initial aproach but we stoped using the filter for that purpose cause when you are searching a product within a category then the returned results are coming only from that category. We need a global, everywhere search
Please Log in or Create an account to join the conversation.
Then, add your filters to it and the filters will filter on all your products.
Please Log in or Create an account to join the conversation.
i used the filters as u described for the products and works perfect
now what i want to do is to filter by category_name
for example in a book store i want to search for the brand or the writer
the brand equals to manufacturer (at my case) and the writer equals to categories (NOT products)
so when i put the name e.g. of a writer to filter all the category_name and give me that writer
thanx
Please Log in or Create an account to join the conversation.
You can create categories for each brands, and add this category to the books, then you have to enable the hikazshop category search plugin.
When doing a search it will display the related categories, so the brand or writer.
Please Log in or Create an account to join the conversation.
i want the results to be like hikashop format ... i mean like products which happens only with filter
when i setup a filter there is an option which sais : "apply on" and there i can choose product_name etc .... is nt any way to go to the code and besides product_somehting to put manually category_name ???? wouldnt it work ?????
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
apply on ... i have only product options
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.
eg. search for "good morning" instead of "good" "morning" ?????
Please Log in or Create an account to join the conversation.
For the filter it depends on the filter type. You have to select "dropdown" or "checkbox" to filter on categories.
You don't have to set values, it will get the available categories by default.
Regarding the search, it's based on the Joomla search, so there is maybe an option in the joomla configuration for that.
Please Log in or Create an account to join the conversation.
about search i set it up like filter not like joomla search .. so i must do it some how in the filter configuration
Please Log in or Create an account to join the conversation.
For your second question, you can do like that:
www.hikashop.com/en/forum/4-how-to/78966...-a-phrase.html#93158
Please Log in or Create an account to join the conversation.
it cannot find the product !!!!
is there any way to make it even "smarter" ???????
about the categories .. isnt any way to hack it ???????
Please Log in or Create an account to join the conversation.
I would recommend to keep the old option so with your search "goodmorning, vietnam" it will work.
About the categories, try with the list type.
PS: You don't need that much "????" to make us understand your question
Please Log in or Create an account to join the conversation.
- Posts: 102
- Thank you received: 2
Please Log in or Create an account to join the conversation.
What do you means by the "joomla search does nothing" ?
Did you publish and configure the HikaShop search plugins ? Otherwise, you won't get any result from HikaShop in the search results of the joomla search module.
The information on this thread is mainly about Hikashop filters, and not Joomla search.
Please Log in or Create an account to join the conversation.
- Posts: 102
- Thank you received: 2
Please Log in or Create an account to join the conversation.