Skip to main content

filter: Search on product

More
14 years 7 months ago - 14 years 7 months ago #41247 by alain.roger
Hi,

i create a filter "Search on Product" where customer can type a substring of product name and get matching results.
however i would like to understand something about filters...

1. in fact when filter is applied you can browse your product catalog as usual. Only those product matching the filter will be displayed.
is it correct ?
(because i was used with Virtuemart to have a search product that apply as a real search module, so it's a little bit different).

2. all filters have a default height of 200px. What should i do to make it automatically sizing height (after i will setup with css how i want it) ?

3. do you plan to have a real "search module" for your cart (like VM has) ?

thx.

What does not kill you, makes you stronger.
Last edit: 14 years 7 months ago by alain.roger.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #41422 by nicolas
Hi,

1. That's correct.
But you can also use the hikashop filter module in order to direct your users to a specific products listing for the results. So in fact both solutions are possible. In depends on how you setup all that.

2. If you don't set a height in the filter AND in the "filter height" option of the Display tab of the configuration, the height will be "automatic".

3. See point 1.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #41481 by alain.roger

nicolas wrote: Hi,

1. That's correct.
But you can also use the hikashop filter module in order to direct your users to a specific products listing for the results. So in fact both solutions are possible. In depends on how you setup all that.


Hi Nicolas,

so in this case what should i do to make the filter working like a REAL search engine for hikashop products ?
thx

What does not kill you, makes you stronger.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #41617 by nicolas
Create a filter of the type "text" and select the columns for which you want to be able to search.
Then, create a new hikashop filter module via the joomla module manager and select that filter and enter the id of a category/product listing menu in the corresponding options of the module.
The following user(s) said Thank You: bohemier

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #41919 by alain.roger
everytime the button text is equal to "filter".
is there a way how to customize it to something else (e.g. "OK" or "Search") for each different module ?
thx.

What does not kill you, makes you stronger.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #42034 by nicolas
You can edit the file "filter" of the view "product" via the menu Display->Views and change the code:
JText::_('FILTER')

to:
$filter

and then add at the beginning the code:
$filter = JText::_('FILTER_'.strtoupper($this->params->get('main_div_name')));

Then, in your translation override, you will have to enter all the new filter keys for each place where the button is displayed.

Please Log in or Create an account to join the conversation.

Time to create page: 0.192 seconds
Powered by Kunena Forum