ErikN Posted December 6, 2013 Share Posted December 6, 2013 Hello, i'm pretty new to php and prestashop and i am in dire need of assistance. I have no clue as to where to modify the stores.php page. I want to add text info to the page. Im pretty well versed in html, but i cant find anything resembling in order to edit the page to my employer's needs. If you could point me in the right direction so i can just add location info under the google map, it would be awesome! If i open the stores.php in dreamweaver i get: /notice of licence comment/ require(dirname(__FILE__).'/config/config.inc.php'); ControllerFactory::getController('StoresController')->run(); Where is all the rest of the code of the page? Thanks in advance for the help! Link to comment Share on other sites More sharing options...
El Patron Posted December 6, 2013 Share Posted December 6, 2013 the controller is in controllers/front/StoresController.php but I think you want the .tpl file themes/yourtheme/stores.tpl I assuming this is ps v 1.5 Link to comment Share on other sites More sharing options...
ErikN Posted December 6, 2013 Author Share Posted December 6, 2013 So the code is in .tpl file, i can just add html to it, text etc? I believe its 1.4 version. Link to comment Share on other sites More sharing options...
vekia Posted December 6, 2013 Share Posted December 6, 2013 hello yes, you can simply add own code there remember about fact that .tpl file is a part of "smarty" templates engine, use there correct smarty syntax after each change, recompile thene (adv. paramters > performance) it's more that necessary, sometimes changes will not be visible without force compilation. 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