Developer forum

Forum » Templates » search in dealersearch

search in dealersearch

Regin Madsen
Reply
Is it possible to setup which fields the dealersearch search look in.

Example:

I want to find all dealers from Norway

I enter Norway in the searchfield, and all dealers with norway in the data a returned. Also dealers from "sweden" but with norway in the address field, or Norway in the name field.

 

Replies

 
Vladimir
Reply
 Hi Regin!
There are some setting that can be changed in search template althought not very flexible:
The number of searching fields are depends from the name of control with text to search:
<input type="text" name="Dealerq" value="<!--@Dealerq-->">

Dealerq:
DealerSearchDealerName
DealerSearchDealerAdress
DealerSearchDealerAdress2
DealerSearchDealerZip
DealerSearchDealerCity
DealerSearchDealerCountry
DealerSearchDealerPhone1
DealerSearchDealerPhone2
DealerSearchDealerFax1
DealerSearchDealerFax2
DealerSearchDealerEmail
DealerSearchDealerWebsite
+ Dealer custom fields

Nameq:
DealerSearchDealerName

Firmq:
DealerSearchDealerCustom_Firma

Freetextq:
DealerSearchDealerCustom_Description

Specialeq:
DealerSearchDealerCustom_Competences

Best regards,
Vladimir

 

You must be logged in to post in the forum