我需要在我的新插件中覆盖categories.php控制器。
`I need to change the Product filters in myaddon.` so override the block files of product filter. But I don't know how to overrite categories.php controller in my addon.
我该怎么做?
答案 0 :(得分:0)
您应该在插件中创建categories.pre.php文件,如下所示:
应用程序/插件/ newaddon /控制器/前端/ categories.pre.php