cigarmalaysia Posted July 27, 2016 Share Posted July 27, 2016 This is going to sound ridiculous, but here goes! My website designer has absconded leaving me with the job of updating the website. I'm opening a physical store and want to add the business address to the contact us page. The problem is: where is the option on the dashboard to do this? I cannot find it anywhere! Please help! Link to comment Share on other sites More sharing options...
rafaelgamezdiaz Posted July 27, 2016 Share Posted July 27, 2016 The formulry is in: public_html/themes/default-bootstrap/contact-form.tpl and the corresponding controller in: public_html/controllers/front/ContactController.php Link to comment Share on other sites More sharing options...
endriu107 Posted July 27, 2016 Share Posted July 27, 2016 Contact page is in location: domain.com/contact or if you don't use simply url on domain.com/index.php?controller=contact Link to comment Share on other sites More sharing options...
rocky Posted July 27, 2016 Share Posted July 27, 2016 The unreleased PrestaShop v1.7 has the option to add contact information to the "Contact us" page. Unfortunately, PrestaShop v1.6 and earlier does not, so you'll need to manually edit themes/<your_theme>/contact.tpl and add it in there. If you're only using one language, it will be easy, but if your site has multiple languages, you'll need to add it like this: <p>{l s='Address line 1'}<br />{l s='Address line 2'}</p> Adding the {l s=''} around the text will allow you to enter translations for each language. To do this, go to the Localization > Translations tab, select "Front office translations", your theme and the language you want to change, then clicking the "Modify" button. Scroll down to the "contact-form" section, find the address you entered and enter the translations in the text fields, then click the "Save" button. Link to comment Share on other sites More sharing options...
cigarmalaysia Posted July 27, 2016 Author Share Posted July 27, 2016 (edited) Thanks guys. @rocky- these are the options I have on the sidebar. I don't know where Themes is? Edited July 27, 2016 by cigarmalaysia (see edit history) Link to comment Share on other sites More sharing options...
rocky Posted July 27, 2016 Share Posted July 27, 2016 It's not in the Back Office. You must open the file using your cPanel File Manager or an FTP client. Link to comment Share on other sites More sharing options...
cigarmalaysia Posted July 27, 2016 Author Share Posted July 27, 2016 It's not in the Back Office. You must open the file using your cPanel File Manager or an FTP client. Ok, I'm going to come clean here, I'm a complete novice and don't have a clue what I'm doing......however....... would the cPanel File Manager or an FTP client be something to do with the application called Filezilla? Am I in the right area? Link to comment Share on other sites More sharing options...
rocky Posted July 27, 2016 Share Posted July 27, 2016 Yes, FileZilla is an FTP client you can use to edit the file. Link to comment Share on other sites More sharing options...
cigarmalaysia Posted July 27, 2016 Author Share Posted July 27, 2016 Yes, FileZilla is an FTP client you can use to edit the file. Thanks Rocky! Ok, so once I get into FileZilla, what should I do? Link to comment Share on other sites More sharing options...
rocky Posted July 27, 2016 Share Posted July 27, 2016 Follow my instructions above. Look in the themes directory. One of the subdirectories will be your theme. You can check the Preferences > Themes tab in the Back Office to see what theme is selected. Find contact.tpl inside the directory and edit it. Link to comment Share on other sites More sharing options...
cigarmalaysia Posted July 27, 2016 Author Share Posted July 27, 2016 Follow my instructions above. Look in the themes directory. One of the subdirectories will be your theme. You can check the Preferences > Themes tab in the Back Office to see what theme is selected. Find contact.tpl inside the directory and edit it. Thanks for your help thus far. In the Back Office under Preferences I have CMS and Maintenance, I can't find any Themes tab at all. Could it be somewhere else? Link to comment Share on other sites More sharing options...
rocky Posted July 28, 2016 Share Posted July 28, 2016 It seems your account is not a SuperAdmin account, so you can't access all tabs. There is another way to check your current theme. Open your website in a browser and then choose the View Source option (or press Ctrl+U). Search the code for themes/ and you should see the theme name after that. 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