Skip to main content

Shop-Script — Chat Code Installation

You can install the Online Chat on a website running CMS Shop-Script in two ways. Both methods are officially confirmed by the developers.

Method 1. Installing the code via “Block”

1. Copy the widget code from the Online Chat settings. 

Shop-Script — Chat Code Installation. Screenshot 1

2. Log in to your personal account. Go to the “Site” tab. Select “Blocks.”

Shop-Script — Chat Code Installation. Screenshot 2

3. Click the “New Block” button. Paste the Online Chat widget code into the text field. The ID field allows Latin letters, numbers, and underscores. There are no restrictions for the description field. Fill in both fields. Then click the “Save” button at the bottom.

Shop-Script — Chat Code Installation. Screenshot 3

4. Once completed, a code block for embedding into the template will be generated. Copy it. 

Shop-Script — Chat Code Installation. Screenshot 4

5. Return to the “Site” tab. Open the “Design” section. Go to the “Templates” menu.

Shop-Script — Chat Code Installation. Screenshot 5

6. Open the index.html template file. Paste the copied code into the template before the </body> tag. Click “Save.” The widget is now added to the site. 

Shop-Script — Chat Code Installation. Screenshot 6

Method 2. Installation via <head>

1. Copy the widget code from the Online Chat settings. 

2. Log in to your personal account. Go to the “Site” tab. Select “Site Settings.”

Shop-Script — Chat Code Installation. Screenshot 7

3. In the “Custom JavaScript code inside <head>” block, paste the Online Chat widget code into the “Additional JavaScript code to insert before the closing <head> tag” field. Save the changes. The widget will appear on the site.

Shop-Script — Chat Code Installation. Screenshot 8
Была ли эта статья полезной?
0 из 5 звезд
5 Звезд 0%
4 Звезд 0%
3 Звезд 0%
2 Звезд 0%
1 Звезд 0%
Как мы можем улучшить эту статью?
Please submit the reason for your vote so that we can improve the article.
Оглавление