Prestashop integration guide (pre v1.5)
Following this easy guide will show you how to install Olark on Prestashop, versions 1.4.9 and below, and start chatting right away with your customers!
Log into the site where your PrestaShop site is hosted using either a standard FTP client or the Cpanel File manager. (Many hosting companies provide File Manager access inside of Cpanel)
Navigate to the ROOT directory of PrestaShop. (This will often be
WWW
orPublic_html
)Open the Themes folder.
Open the theme folder that you are currently using. PrestaShop is the default theme. (You can find the name of your theme inside the PrestaShop admin area, in Preferences->Appearance, at the bottom of the theme tab.)
Select the
footer.tpl
file in the theme folder.Open the
footer.tpl
file with a text editor. Copy and paste your Olark Code above the end</body>
tag at the bottom of the window.Log in and copy your Olark embed code.
Type
{literal}
before the first line<script type="text/javascript">
, and type{/literal}
after the last line</script>
to ensure the Olark code is not evaluated by the PrestaShop template engine.Click Save as and type file name
footer.tpl
(Do not forget to type the file extension .tpl)Save the new edited
footer.tpl
file on your PC.Replace the existing
footer.tpl
file on the server with your newly createdfooter.tpl
file.Now open your site and check out Olark on your PrestaShop Site.
Note: If you go through the above and still can't see our window, then odds are you have PrestaShop's Smarty Cache enabled. To fix this, follow these steps:
- Go into your PrestaShop control panel
- Go to Preferences -> Performance
- Set Force Compile to 'Yes' and 'Cache' to 'No'
- Save your preferences
- Reload the page, and make sure Olark appears (it should)
- After you have made sure it shows up, be sure to go back into your preferences and turn Force Compile and Cache back to their former settings to keep your site speedy :)