Limit Change Quantities Products

This parameter allows you to limit the maximum quantity of products in your order when it is in the “Confirmed” step. It must always be accompanied by a parameter that updates the quantities of the products. Note this feature will only be active if your order have not been transitioned to "Picking Step" Yet

Implementation



Available parameters

Parameter libParameter webDescription
hideElements.limitChangeQuantitiesProductslimitChangeQuantitiesProductsAllows you to limit the maximum quantity of products to that indicated when the order was created.
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: true,
            limitChangeQuantitiesProducts: true
        },
    }
    window.instaleap.status.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/status?job=myJob&token=myToken&shouldChangeQuantitiesProducts=true&limitChangeQuantitiesProducts=true

Demo


🤓

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