Yourshop Search Functionality

Ecommerce design Joomla template to start your online business with VirtueMart and additional eshop features.
GK User
Thu Dec 23, 2010 1:00 am
Hi
I've been having a massive issue with the standard search and Virtuemart Search modules. The main search box does not search Virtuemart products and the VM Search module seems to search for everything in the store no matter what you enter for example: A search for the iPad returns Macbook Air, Cinema and every other product in the store.

Is there a fix for this?
User avatar
Fresh Boarder

GK User
Sat Feb 19, 2011 11:48 pm
Hi I have the same problem.

When doing a search with Joomla's default search, there are no search results from Virtuemart.
I see this person above me's post has not been answered in over a month.

I have a question, if you are going to release a template that is Virtuemart friendly, why the f&*k would you not test the inherant serach functionality to make sure it works with Virtuemart?

What's the fix please... oh, and by the way... yes I did install and configure the VM Search and yes it does look like crap when you publish it to the top_search position (a mod mentioned in other threads).

It would be great to get a reply on this.

Just AMAZED that this error exists.. hope it's just with me and the guy above...
User avatar
Junior Boarder

GK User
Sun Feb 20, 2011 12:44 am
Fixed this issue.

It's in the function "vmGetCleanArrayFromKeyword" which is in the class "ps_main". Filename is:
administrator/components/com_virtuemart/classes/ps_main.php

In the line
if( $strlen > 2 ) {
change the 2 to a 1.

I would also recommend installing and activating the Virtuemart extended search plugin.


:) http://www.aureustech.co.za
User avatar
Fresh Boarder

GK User
Sun Feb 20, 2011 1:11 am
Thanks a million!

FIXED!

Still amazed that they would disign a VM centric template without that working...
Again thanks and best of luck to the Bok in the WRC 2011
User avatar
Junior Boarder


cron