Custom title chat

Title of the support tab in the chat of the client. Title of the picking tab in the chat of the client. Title of the driver tab in the chat of the client.

Below we have a screenshot of what the feature looks like:


Implementation



Available parameters

Parameter libParameter webDescription
chat.supportTab.titlechatSupportTabTitleAllows you to customize the title of the support tab in the customer chat.
chat.supportTab.helpHtmlchatSupportTabHelpHtmlAllows you to customize the help text of the support tab in the chat.
chat.supportTab.helpStartTimechatSupportTabHelpStartTimeAllows you to customize the start time from when the help text message will be displayed in the support chat.
chat.supportTab.helpEndTimechatSupportTabHelpEndTimeAllows you to customize the end time up to when the help text message will be displayed in the support chat.
chat.pickingTab.titlechatPickingTabTitleAllows you to customize the title of the picking tab in the customer chat.
chat.driverTab.titlechatDriverTabTitleAllows you to customize the title of the driver tab in the customer chat.

Code

<!DOCTYPE html>
<head>
    <title>LSW v3 Embed</title>
</head>
<body>
    <div id="instaleap-lsw-v3"></div>
</body>

<script src="https://xandar-lsw-v3.instaleap.io/lib/status.js"></script>
<script>
    const params = {
        job: "myJob",
        token: "myToken",
        container: "#instaleap-lsw-v3",
        chat:{
            supportTab: {
                title: "title custom support"
            }
        } 
    }
    window.instaleap.status.render(params)
</script>
</html>
<!DOCTYPE html>
<head>
    <title>LSW v3 Embed</title>
</head>
<body>
    <div id="instaleap-lsw-v3"></div>
</body>

<script src="https://xandar-lsw-v3.instaleap.io/lib/status.js"></script>
<script>
    const params = {
        job: "myJob",
        token: "myToken",
        container: "#instaleap-lsw-v3",
        chat:{
            supportTab: {
                helpHtml: "<div><imgsrc='https://instaleap.io/wp-content/uploads/2022/10/Logos-Instaleap-04.png'alt='icon'></div><div><p>Hola, en este momento la tienda está cerrada. Nuestros horarios de atención son: <br>De lunes a viernes desde las <b>9:00 AM hasta las 7:00</b> <br>PM Sábados y domingos desde las <b>9:00 AM hasta las 7:00 PM</b>  </p></div>",
              helpStartTime: "16:00",
              helpEndTime: "08:00",
            }
        } 
    }
    window.instaleap.status.render(params)
</script>
</html>
<!DOCTYPE html>
<head>
    <title>LSW v3 Embed</title>
</head>
<body>
    <div id="instaleap-lsw-v3"></div>
</body>

<script src="https://xandar-lsw-v3.instaleap.io/lib/status.js"></script>
<script>
    const params = {
        job: "myJob",
        token: "myToken",
        container: "#instaleap-lsw-v3",
        chat:{
            pickingTab: {
                title: "title custom picking"
            }
        } 
    }
    window.instaleap.status.render(params)
</script>
</html>
<!DOCTYPE html>
<head>
    <title>LSW v3 Embed</title>
</head>
<body>
    <div id="instaleap-lsw-v3"></div>
</body>

<script src="https://xandar-lsw-v3.instaleap.io/lib/status.js"></script>
<script>
    const params = {
        job: "myJob",
        token: "myToken",
        container: "#instaleap-lsw-v3",
        chat:{
            driverTab: {
                title: "title custom driver"
            }
        } 
    }
    window.instaleap.status.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/status?job=myJob&token=myToken&chatPickingTabTitle=text&chatSupportTabTitle=text&chatDriverTabTitle=text&chatSupportTabHelpHtml=texthtml&chatSupportTabHelpStartTime=10:00&chatSupportTabHelpEndTime=10:00

Demo


🤓

NOTE: Please do not modify the Demo, this is a visual aid.


Title chat picking tab and Title chat support tab

Title chat driver tab and text help in chat support tab