Order number

Specific configuration parameters

đŸ“˜

Hide elements value

  • Beware that for now, values are somehow inverted.
  • in order to display the element you set true, in order to hide, you set the value false.
  • Notice also that values are a string, not a boolean
ParameterDescription
hideElements.orderIdAllows you to show or hide the number order in the header
default: "false"
options: "false: || "true"

Usage Example

Consider the following examples:

Hide order number

<!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/lsw.js"></script>
<script>
    const params = {
        job: "myJob",
        token: "myToken",
        container: "#instaleap-lsw-v3",       
        hideElements: {             
            orderId: true
        },
    }
    window.instaleap.lsw.render(params)
</script>
</html>