Hide Products

Allows you to show or hide the products in Products component.

Implementation



Available parameters

Parameter libParameter webDescription
hideElements.productshideProductsAllows you to show or hide the products in Products component.
default: "false"
options: "false: || "true"

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",
        hideElements: {             
            products: true
        },
    }
    window.instaleap.status.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/status?job=myJob&token=myToken&hideProducts=true

Demo


🤓

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