How to override default search in Magento?

前端 未结 2 2001
野的像风
野的像风 2021-01-16 13:23

I am working on a Magento site, and i would like to edit the default search result.

Editing search result is not editing the appearance of search result but the actu

2条回答
  •  臣服心动
    2021-01-16 13:38

    You will need to modify some of the models in catalogsearch module, this link has a good explanation of how to override Core classes. In your case you will need to add your logic somewhere in the Query model or its resource or collection models.

提交回复
热议问题