Update products quantities

This Parameter allows you to update quantities of the products in your order when the order is in, the "Confirmed" Step

Implementation



Available parameters

Parameter libParameter webDescription
hideElements.productQuantitiesChangeshouldChangeQuantitiesProductsAllows you to render or hide the payment status.
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: {             
            productQuantitiesChange: false
        },
    }
    window.instaleap.status.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/status?job=myJob&token=myToken&shouldChangeQuantitiesProducts=true

Demo


🤓

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