Specific configuration parameters
Parameter | Description |
---|---|
hideElements.changeProductsReplacementSuggestions | Allows you to show or hide the buttons to increase or decrease the amount of the suggestion default: "false" options: "false: || "true" |
Usage Example
Consider the following examples:
Hide change products replacement suggestions
<!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: {
changeProductsReplacementSuggestions: true
},
}
window.instaleap.lsw.render(params)
</script>
</html>