News:

Support the VirtueMart project and become a member

Main Menu

Smart Search - Virtuemart Category and Product plugins

Started by trevorbicewebdesign, September 14, 2015, 04:26:39 AM

Previous topic - Next topic

trevorbicewebdesign

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
Never underestimate the power of stupid people in large groups.
http://webdesign.trevorbice.com/

tezza81

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!

trevorbicewebdesign

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'.
Never underestimate the power of stupid people in large groups.
http://webdesign.trevorbice.com/

Nelia

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.

trevorbicewebdesign

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/
Never underestimate the power of stupid people in large groups.
http://webdesign.trevorbice.com/

kratzi

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

Studio 42

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

saraheagle

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

deputt

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...

razor7

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...?
MGS Creativa - VirtueMart Payment Plugin Experts
http://www.mgscreativa.com

Take a look at our downloads section for VirtueMart payment plugins and mouch more!
http://www.mgscreativa.com/en/online-store

lausianne

Years later ... is this plugin still working, or is there another solution to get Virtuemart to work with Smart Search?