Вопрос

I want to use core controller method which is "product" action method and non action prepareProductDetailMethod in my plugin but I want to only override this method in my plugin not implement again in my plugin

So.How to call core controller method?

Please give me steps as well as example.

Это было полезно?

Решение

You can't use it,because all that methods are protected,if you want it from another controller in nopcommerce then you can do it but you need to declare this protected methods as a public, but from plugin you can declare them public, so just copy that method in your plugin.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top