Developer forum

Forum » Templates » Search function in shop (not eCom)

Search function in shop (not eCom)


Reply

Is there any way of getting the standard search on the shop (not eCom) search in the custom fields and not just the description text and price ?


 


TIA


Peter


Replies

 
Nicolai Høeg Pedersen
Reply
pk@degngrafik.dk wrote:


Is there any way of getting the standard search on the shop (not eCom) search in the custom fields and not just the description text and price ?




 




TIA




Peter




Hi Peter

 


With the next release of Dynamicweb (Dont know when its due) you can add a hidden field in the form named SearchCustomFields - set the value to a comma seperated list of the columns in the database you want to search:


input type=hidden name=SearchCustomFields value="ShopProductCustom_Field1, ShopProductCustom_Field2"


 


Be aware, that you need a space after the comma: "dfd, asdf, asdfa" an not "asd,asdf,asdf"

 
Reply

 


Thank you


 


Looking forward to that :o)

 

You must be logged in to post in the forum