VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: neyther on September 06, 2013, 21:29:20 PM

Title: Category Filter through search module
Post by: neyther on September 06, 2013, 21:29:20 PM
Hi there,

I'm going crazy because i wanna realize a script that filter category through the input got on search module. I explain more clear:
I have a list of categories and sub-categories, with products inside them. Normally all categories are visible. If i search a product(using search module), it works and shows me the product. Good. But all categories are visible, yet. What i want to do is filter the product, where exists in specific category, so that shows me all categories where the product is in and hiding the others.
Example: I have category 1-2-3. I search product A and this product is in category 1 and 3. When complete the search, the category 2 must miss. If i return to the homepage, all categories(1-2-3) must appear.
So i suppose that i have to pick-up the value typed on search module and realize an hidden search inside all categories, but seems to be hard!

An example is function of Magento or the search module on Ebay's stores.

Can anyone help me?
Maybe exist an application for Joomla?

Let me know.

Thanks and Regards!
Title: Re: Category Filter through search module
Post by: jenkinhill on September 06, 2013, 23:24:44 PM
Look through the third party devloper forum: http://forum.virtuemart.net/index.php?board=135.0  or http://extensions.virtuemart.net/ or the VM section of the JED.
Title: Re: Category Filter through search module
Post by: neyther on September 07, 2013, 16:25:41 PM
Thanks jenkinhill, but i searched everywhere and didn't find what i need :/

I'm not a very expert of php code or virtuemart so if anyone knows how to resolve this problem, please help me!

my website(beta) is the following: www.ricambimoto2000.it/nuovo

Where i have to work to modify the php code? I suppose in module/mod_virtuemart_category/tmpl isn't enough.

How can i display just the categories of what is looking for?:/

Thanks and regards!
Title: Re: Category Filter through search module
Post by: Maxim Pishnyak on September 08, 2013, 09:10:45 AM
Quote from: neyther on September 07, 2013, 16:25:41 PM
Thanks jenkinhill, but i searched everywhere and didn't find what i need :/
I'm sorry, but I can't believe that you didn't see word 'filter' in mentioned by Jenkinhill sources.
Title: Re: Category Filter through search module
Post by: neyther on September 08, 2013, 13:45:31 PM
Quote from: Maxim Pishnyak on September 08, 2013, 09:10:45 AM
Quote from: neyther on September 07, 2013, 16:25:41 PM
Thanks jenkinhill, but i searched everywhere and didn't find what i need :/
I'm sorry, but I can't believe that you didn't see word 'filter' in mentioned by Jenkinhill sources.

I see many extension of virtuemart and category, but noone of these soddisfy my claim.
What i'm looking for is the same thing of ebay's store. If  u know, on ebay virtual store u can search through a module and the keyword will filter through category, too. So if u have on store 100 categories, when u search an item and that item exist on just 2 categories, on module categories will display the two categories and not all.
What i find is a filter that work just on search module and filter a product with specific category, without modify the category module
Title: Re: Category Filter through search module
Post by: jenkinhill on September 08, 2013, 16:00:52 PM
This is the filter system I use, but if you need something more advanced or a modiled search module then if it does not exist and you can't program it yourself then you can commission a developer in http://forum.virtuemart.net/index.php?board=18.0 or in http://jobs.virtuemart.net/
Title: Re: Category Filter through search module
Post by: Maxim Pishnyak on September 12, 2013, 11:03:36 AM
Quote from: neyther on September 08, 2013, 13:45:31 PM
So if u have on store 100 categories, when u search an item and that item exist on just 2 categories, on module categories will display the two categories and not all.
Just to be sure what demos of available popular extensions did you try?
Title: Re: Category Filter through search module
Post by: neyther on September 12, 2013, 18:32:17 PM
Quote from: Maxim Pishnyak on September 12, 2013, 11:03:36 AM
Quote from: neyther on September 08, 2013, 13:45:31 PM
So if u have on store 100 categories, when u search an item and that item exist on just 2 categories, on module categories will display the two categories and not all.
Just to be sure what demos of available popular extensions did you try?

None... Actually my inspiration was ebay's store or the category module of Magento, like this: http://demo.magentocommerce.com/catalogsearch/result/?q=ericsson

try search something like sony or vaio...

I can't replicate the same system :/
Title: Re: Category Filter through search module
Post by: Maxim Pishnyak on September 12, 2013, 19:35:24 PM
Quote from: neyther on September 12, 2013, 18:32:17 PM
Quote from: Maxim Pishnyak on September 12, 2013, 11:03:36 AM
Quote from: neyther on September 08, 2013, 13:45:31 PM
So if u have on store 100 categories, when u search an item and that item exist on just 2 categories, on module categories will display the two categories and not all.
Just to be sure what demos of available popular extensions did you try?
None...
Why?
Title: Re: Category Filter through search module
Post by: neyther on September 14, 2013, 08:53:31 AM
Because i didn't find anything i need...:/

I've installed just the netbase search module in ajax...

Did u see the magento's demo?
Title: Re: Category Filter through search module
Post by: Maxim Pishnyak on September 14, 2013, 08:57:56 AM
Quote from: neyther on September 14, 2013, 08:53:31 AM
Because i didn't find anything i need...:/
There could be around 26 filter/search extensions from different developers. And ALMOST any entry in JED have DEMO button. For example this - http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-products-search/22062.
Title: Re: Category Filter through search module
Post by: neyther on September 14, 2013, 10:15:36 AM
Isn't what i'm looking for...:/

I need a simply list of all categories on left module.
Then when search on module typing the keyword, all words(so products or description or title) filter the categories, too, displaying just categories where that keyword exists.

So if i have on the shop more items and more categories(i.e: computer, smartphone, and so on) and i search a laptop sony, the categories module display just "computer" and not "smartphone" because there doesn't exist a "laptop sony" . Maybe on computer there is a laptop sony dual core, laptop sony vaio quadcore and so on... But just on computer.

I think i have to work with urls and keyword, but i dunno which php file i have to modify...:/
Title: Re: Category Filter through search module
Post by: Maxim Pishnyak on September 14, 2013, 10:25:33 AM
Quote from: neyther on September 14, 2013, 10:15:36 AM
Isn't what i'm looking for...:/
I just had pointed you that demos usually available.
Quote from: neyther on September 14, 2013, 10:15:36 AM
I need a simply list of all categories on left module.
Then when search on module typing the keyword, all words(so products or description or title) filter the categories, too, displaying just categories where that keyword exists.
Let's begin from start. Take a look at known by me filter
http://test3.breakdesigns.net/index.php/search/screens/no-manuf
We have 'simply list of all categories on left module'.
But then .. 'typing the keyword'.
What you could tell about that keyword? I need an url to see what are you talking about.
Title: Re: Category Filter through search module
Post by: neyther on September 14, 2013, 10:56:13 AM
Quote from: Maxim Pishnyak on September 14, 2013, 10:25:33 AM
Quote from: neyther on September 14, 2013, 10:15:36 AM
Isn't what i'm looking for...:/
I just had pointed you that demos usually available.
Quote from: neyther on September 14, 2013, 10:15:36 AM
I need a simply list of all categories on left module.
Then when search on module typing the keyword, all words(so products or description or title) filter the categories, too, displaying just categories where that keyword exists.
Let's begin from start. Take a look at known by me filter
http://test3.breakdesigns.net/index.php/search/screens/no-manuf
We have 'simply list of all categories on left module'.
But then .. 'typing the keyword'.
What you could tell about that keyword? I need an url to see what are you talking about.


I leave u my website with category(on left) and search module(upside): www.ricambimoto2000.it/nuovo
Furthermore this is the virtual store we have on ebay with the category module i wish to create: http://stores.ebay.it/moto2000srl

Try search on ebay store something like "pneumatico" or "variatore" or other scooters parts. So u know how does it works and what i want to do...

"keyword" is just the text you insert on search module :)

thanks for your help.
Title: Re: Category Filter through search module
Post by: Maxim Pishnyak on September 15, 2013, 20:04:56 PM
So.. I tried to write "pneumatico" under "Ricerca del Negozio" in http://stores.ebay.it/moto2000srl
Or I need to do something else?
Title: Re: Category Filter through search module
Post by: neyther on September 16, 2013, 08:48:20 AM
Did u see how change categories module on left?
I wanna create that module...

Before searching, it displays all categories. After it displays just the categories where item/product exists in.
Title: Re: Category Filter through search module
Post by: Maxim Pishnyak on September 16, 2013, 15:38:24 PM
Filter at breakdesigns.net could do this. You need to check well and decide what from available already solutions could do this what do you want. After all you could ask questions to the filter developers, can you?
Title: Re: Category Filter through search module
Post by: neyther on September 16, 2013, 16:00:14 PM
I've seen that, already. But in the demo didn't find that function i'm looking for.
Before i sent an email to verify the functions.

If it works, then i will get... Else i dunno what i do...:/

Thanks for your help.
Title: Re: Category Filter through search module
Post by: Maxim Pishnyak on September 16, 2013, 16:36:33 PM
Quote from: neyther on September 16, 2013, 16:00:14 PM
I've seen that, already. But in the demo didn't find that function i'm looking for.
Before i sent an email to verify the functions.
There could be documentation to see additional features. Thread in 3rd party forum to ask such question also. Additional prebuy support except demo which could be limited in some places. Demo that could be not so overcomplicated for starters.