Jump to content

PrestaShop as a 3-tier architecture (MVC)


Recommended Posts

If PrestaShop is based on a 3-tier architecture (MVC), what is the name of the controller that renders the .tpl files inside a theme?

e.g myProject/themes/default("Default theme in Prestashop")/(.tpl files)


or maybe where I can find the location of the controller that renders the .tpl files? So that I can add more smarty tags 

//Assume this file is the controller that renders the .tpl files in a theme

//I got this code for converting a php value to a smarty tag in creating a module http://doc.prestashop.com/display/PS15/Creating+a+PrestaShop+module

    'Hello' => "Hello",
    'World' => "World",
    'another_smarty_tag' => "Im another smarty tag"
  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...