Pierre Belin Posted December 14, 2019 Share Posted December 14, 2019 Hi everyone, I'm facing an issue in PrestaShop 1.7 ... I'd like to modify one core file (/src/Adapter/Presenter/Cart/CartPresenter.php -> function present) to add a developed module function that I made myself. It changes some display on the template cart, customer's request. The fact is, since it's Symfony, I'm not longer able to call the function Module::isEnable. How do you call this function now ? What is the good use ? Then, how to you call the class ? I mean, since you don't do require(/modules/MYMODULE/mymodule.php) to call new Module() ? Regards to everyone ! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now