News:

Looking for documentation? Take a look on our wiki

Main Menu

VirtueMart Search Product Issue with Apostrophes

Started by marfisk, January 28, 2014, 22:28:57 PM

Previous topic - Next topic

marfisk

We're using the built in VirtueMart Search Product module for the product search and have run into a problem. Basically here's what happens:
We have a product called: Ebenezer's Locker with the product alias of ebenezer-s-locker
The VirtueMart Search Product module strips the apostrophe but does not then find the product, or rather does not realize it has found the product but rather includes it in a list of 113 possible matches. The search doesn't work in the products page of the admin either.

We have an update planned, so if the latest version fixes the apostrophe issues, please tell me and we can accelerate it. If not, any ideas how we can get this to work?

Thanks :).

I've included the reproduction steps below.

To reproduce after creating a dummy product called Ebenezer's Locker:
Left side bar "Search in Shop"
Type: Ebenezer's Locker
Hit return
Auto filled Search term is now: Ebenezers Locker without the apostrophe.
The product in the results, but buried under 113 results.

In admin:
VM Products search
Type: Ebenezer's Locker
Hit return
Auto filled Search term is now: Ebenezers Locker without the apostrophe.
No results found

Site:
Joomla 2.5.17
Virtuemart  2.0.22c (Update is planned, but will it fix this problem? The notes don't seem to indicate so.)