Start a new topic

trying to edit the fields showed in search

hi there,


i am new in cs cart editing and tried for the last 10 h and can't seem to wrap my head around it.


How can i show another field in the search results as for example i have the sell price but i also want to add another price from a database field based on product id.


If anyone can guide me in finding the right files to edit or give me some pointers will be appreciated.


Thanks

Hi,


The list of fields which are used for search is formed in the fn_se_prepare_product_data function in the app/addons/searchanise/controllers/frontend/searchanise.php of your CS-Cart installation. In order to enable search by additional fields, new fields with the text_search = 'Y' parameter should be added to the $entry array.


Thank you.

Login or Signup to post a comment