Author Topic: Smart Search - Virtuemart Category and Product plugins  (Read 5338 times)

trevorbicewebdesign

  • Beginner
  • *
  • Posts: 16
    • Trevor Bice Webdesign
Smart Search - Virtuemart Category and Product plugins
« 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
Never underestimate the power of stupid people in large groups.
http://webdesign.trevorbice.com/

tezza81

  • Beginner
  • *
  • Posts: 6
  • A beginner
Re: Smart Search - Virtuemart Category and Product plugins
« Reply #1 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!

trevorbicewebdesign

  • Beginner
  • *
  • Posts: 16
    • Trevor Bice Webdesign
Re: Smart Search - Virtuemart Category and Product plugins
« Reply #2 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'.
Never underestimate the power of stupid people in large groups.
http://webdesign.trevorbice.com/

Nelia

  • Beginner
  • *
  • Posts: 3
  • A beginner
Re: Smart Search - Virtuemart Category and Product plugins
« Reply #3 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.

trevorbicewebdesign

  • Beginner
  • *
  • Posts: 16
    • Trevor Bice Webdesign
Re: Smart Search - Virtuemart Category and Product plugins
« Reply #4 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/
Never underestimate the power of stupid people in large groups.
http://webdesign.trevorbice.com/

kratzi

  • Jr. Member
  • **
  • Posts: 150
Re: Smart Search - Virtuemart Category and Product plugins
« Reply #5 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

Studio 42

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2429
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Smart Search - Virtuemart Category and Product plugins
« Reply #6 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

saraheagle

  • Beginner
  • *
  • Posts: 18
Re: Smart Search - Virtuemart Category and Product plugins
« Reply #7 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

deputt

  • Beginner
  • *
  • Posts: 2
Re: Smart Search - Virtuemart Category and Product plugins
« Reply #8 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...

razor7

  • Jr. Member
  • **
  • Posts: 314
    • MGSCreativa - Professional VM!
Re: Smart Search - Virtuemart Category and Product plugins
« Reply #9 on: November 09, 2017, 15:15:46 pm »
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