Skip to main content

Magento — Chat Code Installation

Let’s look at two effective methods for installing the chat code on a website running on the Magento CMS.

Method 1. Installing the code via the admin panel

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

2. Log in to the Magento admin panel. Click on the “System” block. Then click on the “Configuration” section.

3. On the left side of the page, select the “Design” section. Wait for the page to load. Click on the “Footer” panel.

4. In the “Miscellaneous HTML” field, paste the chat code. Save the changes by clicking the “Save Config” button:

Method 2. Installing the code via the theme’s source files

1. Insert the chat code into the footer.phtml file. This file is located in the Magento installation directory. Navigate to the path: /app/design/frontend/default/<Your Theme Name>/template/page/html/. Open the footer.phtml file in a text editor to modify the code. Paste the chat code at the end of the file. Save the changes.

2. In the admin panel, click on the “System” block. Open the “Cache Management” section.

Click the “Select All” button to highlight all cache types. Then click “Submit.”

Оглавление