Specific configuration parameters
Parameter | Description |
---|---|
hideElements.productDelete | Allows you to choose not to render the Delete Product Button in the product's list. (Only in "received") default: "false". options: "false: || "true" |
Usage Example
Consider the following examples:
Allowing Delete Product Button
<!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: {
productDelete: true
},
}
window.instaleap.lsw.render(params)
</script>
</html>