VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: trevorbicewebdesign on September 14, 2015, 04:26:39 AM

Title: Smart Search - Virtuemart Category and Product plugins
Post by: trevorbicewebdesign on September 14, 2015, 04:26:39 AM
Hi Again! I figured I'd stop just being a lurker and post some more code ;)

I wrote a few plugins for the Smart Search aka Finder in Joomla 3x a while back. These two plugins should enable your Virtuemart Categories, and Virtuemart Products to show in your search results. Lemme know if you find it useful!

https://github.com/trevorbicewebdesign/Smart-Search-Virtuemart-Categories
https://github.com/trevorbicewebdesign/Smart-Search-Virtuemart-Product
Title: Re: Smart Search - Virtuemart Category and Product plugins
Post by: tezza81 on September 16, 2015, 05:58:47 AM
This sounds like it will be very useful to me.. the problem is I don't know where or how exactly to use these! Very new here I'm afraid but for the life of me can't get vm-search to show any results so hoping smartsearch may? :)  Are you able to post me some instructions at all? Many thanks!
Title: Re: Smart Search - Virtuemart Category and Product plugins
Post by: trevorbicewebdesign on September 16, 2015, 06:41:32 AM
Install them via the Joomla 3x installer. Once installed, you'll want to select the 'Finder' extensions you want to use. You can do this easily by filtering the plugins by the type 'Finder'. For starters, try disabling all of them except the two new VirtueMart search plugins. You will then need to go into Components > Smart Search and then click 'Index'.
Title: Re: Smart Search - Virtuemart Category and Product plugins
Post by: Nelia on December 09, 2015, 17:06:51 PM
Hi, after a long search I found your two plugins to search virtuemart products and categories and was so happy to finally find something promissing. I installed them and followed the steps without any trouble until the indexing part. There the process seems to stop. I can click the index-button and it says "indexing started", but it just doesn't do anything. Any idea what the problem might be and how to solve it? I am using Joomla 3.4.5 AND Virtuemart 3.0.12.

** UPDATE **
Yes, it's working now. I rewrote the plugins according to the new plugins/finder/content/content.php.
Title: Re: Smart Search - Virtuemart Category and Product plugins
Post by: trevorbicewebdesign on March 24, 2016, 22:29:45 PM
Hey Nelia, if you have improved core code would you mind providing your updates? You can do so on my Git
https://github.com/trevorbicewebdesign/Smart-Search-Virtuemart-product/
Title: Re: Smart Search - Virtuemart Category and Product plugins
Post by: kratzi on July 15, 2016, 15:55:30 PM
Hi

I have installed your Plugin and also indexed all my products which are now listed under Searchindex as VM products.

However when searching it will only find exact searches. Searches where only one letter is wrong are not found.

Should the searches be done through VM search or Joomla search. Through joomla search I would not find any products and through VM search as said only the ones with completely correct spelling.

Thank you

kratzi

J3.5 VM 3.0.14
Title: Re: Smart Search - Virtuemart Category and Product plugins
Post by: Studio 42 on July 15, 2016, 21:53:42 PM
Hi trevorbicewebdesign,
I wanted to do a VM file for the Joomla finder myself for a customer, but trigger are missing, so nothing is update when you do changes in categories or products.
When you check your code, some was simply not changed from standard Joomla categories and don't exist in VM.
It's same for authors alias , he don't exist in Virtuemart, so please review you code
I don't think that current VM code can use the finder without adding some trigger an returning context for plugin.
Regards,
Patrick
Title: Re: Smart Search - Virtuemart Category and Product plugins
Post by: saraheagle on October 21, 2016, 03:10:40 AM
Hi Trevor,
I have installed your plugins on a site Joomla! 3.6.2, VirtueMart 3.0.16 & Smart Search - Virtuemart Products 1.2
The category one works beautifully, but the products one does not show products in the search results.
They are however indexed in the admin area.
Is there anything that needs changing?
Thanks Sarah
Title: Re: Smart Search - Virtuemart Category and Product plugins
Post by: deputt on June 22, 2017, 04:49:26 AM
I've suggested a patch to the Products plugin, basically changing all "CATEGORIES", "CATEGORY" and "Categories" to "PRODUCTS", "PRODUCT" and "Products" respectively. When you re-Index using Smart Search, the products will be indexed as well. However, the front-end still does not display the indexed products...
Title: Re: Smart Search - Virtuemart Category and Product plugins
Post by: razor7 on November 09, 2017, 15:15:46 PM
Quote from: deputt on June 22, 2017, 04:49:26 AM
I've suggested a patch to the Products plugin, basically changing all "CATEGORIES", "CATEGORY" and "Categories" to "PRODUCTS", "PRODUCT" and "Products" respectively. When you re-Index using Smart Search, the products will be indexed as well. However, the front-end still does not display the indexed products...

Hi! Just downloaded you forked smart search vm product plugin and it works! I can search for almost anything after re-indexing from the backend. Why dont you send a pull request to the original dev...?
Title: Re: Smart Search - Virtuemart Category and Product plugins
Post by: lausianne on February 04, 2020, 23:58:39 PM
Years later ... is this plugin still working, or is there another solution to get Virtuemart to work with Smart Search?