News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Unusual Search Request

Started by wicketts, March 02, 2016, 12:44:09 PM

Previous topic - Next topic

wicketts

Hello everyone,

I've just been asked what perhaps seems a bit strange but bear with me...

A friend of mine runs an online jewellery shop and he would like to adjust the search in some way - currently using the 'VirtueMart Search Product' module.

The problem he has is that some customers are searching for 'rings' but when they do of course a list of 'rings' and 'earrings' are returned. He was wondering if the search can be adjusted in anyway so that only 'rings' are returned as results.

He's basically trying to make it as easy as possible for his customers, some of whom are not the brightest   :0)

Many thanks for your help.

Kind regards


James

Joomla: 3.4.8
Virtuemart: 3.0.12

GJC Web Design

have a look in the products.php model

basically you want the search term to be rings%  .. not %rings%

there is a plugin call for the search query  but have never tried it .. I just hack in this case
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Ghost