Livechat in the Shoplo.com
 

How to install livechat in the Shoplo.com?

br At the beginning, on your computer create (for example using a notepad) a file named chat with the .js extension (chater.js). Paste your chat script into this file.

<script>window.$czater = {tok: "Your_chater_ID", domain: "https://www.czater.pl/", login: undefined, email: undefined};</script><script src="https://www.czater.pl/assets/modules/chat/js/chat.js" async></script>


IMPORTANT:Remove two tags from the default code generated on your account. At the beginning, it opens "script"and at the end, it closes "/script".

Then, after logging in to the administration panel of our Shoplo store, we proceed to edit the code of the used template. Here, in the section Javascript files, click on Add file and upload the previously prepared chater.js file.

Shoplo.com livechat

Click on Save Changes.

Shoplo.com livechat

Then, in the Main template section, select the file with source code - that is base.tpl.
Now in the body section, just before it ends, you will find lines of code referring to other javascript files, for example:
{"plugins.js"|asset_url:script_tag}
{"bootstrap.js"|asset_url:script_tag}
{"main.js"|asset_url:script_tag}
{"cart.js"|asset_url:script_tag}
{"shoploAJAX.js"|asset_url:script_tag}

Below them, paste a new line referring to the chat file:
{"czater.js"|asset_url:script_tag}

Shoplo.com livechat

Click on Save Changes. Livechat should be already displayed in your shop.


Your opinion:

Signature:

E-mail address
(will not be shown)

Your rating:

Your comment will be added after moderation