sharingsunshine Posted March 4, 2015 Share Posted March 4, 2015 (edited) I need to know when I go to Back Office --> Customers --> Shopping Carts what template file is controlling the display of that content? I want to add the IP number but don't know where to find the .tpl file. Thanks, Randal Edited March 9, 2015 by sharingsunshine (see edit history) Link to comment Share on other sites More sharing options...
sharingsunshine Posted March 6, 2015 Author Share Posted March 6, 2015 anyone have an idea? Link to comment Share on other sites More sharing options...
Lactor Posted March 6, 2015 Share Posted March 6, 2015 Hi, First I'm sorry for my bad english, I'm french (: the URL gives a good hint : when you are in your BO, you can see this type of url : "index.php?controller=AdminCarts&token=XXX" The controller looks for a view in admin folder, seems logic. So, in your FTP, open your folder "adminXXX/". We look for the BackOffice views, it's like Front-office, in "/themes/". You should have a "/default/" folder. Open it. There is a folder named "template/", I think it's what we look for ! o/ Inside, you have all the template files for the BO, but, for your cart view, as we use a "controller" in the url, open the "controllers/" folder. You'll have a folder for each view that need a controller. Like "Carts/". The view you look for is view.tpl (in /helpers/views/). It's the same logic when you look for any view on Pretsashop' BO. I hope that helps (: Regards, Okar 1 Link to comment Share on other sites More sharing options...
sharingsunshine Posted March 7, 2015 Author Share Posted March 7, 2015 Hi Okar, That really helped. I didn't know how the url syntax figured into finding the files. However, your explanation was great and has solved this problem but many more to come. Link to comment Share on other sites More sharing options...
Lactor Posted March 9, 2015 Share Posted March 9, 2015 Hi, I just discovered it by my own, so if it's helpful for others, it's cool. (: Don't forget to change the topic in solved ! Regards, Okar Link to comment Share on other sites More sharing options...
sharingsunshine Posted March 9, 2015 Author Share Posted March 9, 2015 How do you change the topic to solved? I clicked the "Mark Solved" button is there something more to do? Link to comment Share on other sites More sharing options...
Lactor Posted March 9, 2015 Share Posted March 9, 2015 I don't know if the button works... /: Edit your first post with the full editor and write "solved" in the title. Normally, it would work. 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