Jump to content

Changing module’s position through code!


Recommended Posts

Hello to all,

 

Lately, I am trying to find out how to change position of a module through code! Apparently, prestashop allows only changing the order of a module within a position (left, right, center and so forth), which is not very helpful!

 

Any idea?

Link to comment
Share on other sites

A module can only be used in the hooks it was designed to, assuming the hook you want to use is supported by a module, go to the modules->positions page, and click on transplant a module, pick the module and the hook.

 

Make sure to remove it from the old hook.

Link to comment
Share on other sites

×
×
  • Create New...