Jump to content

Override default behavior(Order controllers) in multiple modules?


Recommended Posts

Hi,

 

I've a general question about overriding the default behavior of Prestashop like: OrderControllers, if it possible if I could override the same controller in different modules and all modules overridden controllers has it's own properties, it is possible if all changes will modify the default behavior and start showing the new changes by different modules using the same controller? I know we can't override the same method in different module but if I need to override how can I achieve it?

 

Let say, renderView() function for OrderController, can I override the same function in different modules? I want to user renderView function and want to obtain all the variables defined in different modules to be use at once.

 

Please help seniors.

 

Link to comment
Share on other sites

×
×
  • Create New...