Specific configuration parameters
Parameter | Description |
---|---|
customStepsName.received | Parameter used to change the title of the Received substep (optional) - Default: Received |
customStepsName.picking | Parameter used to change the title of the Picking substep (optional) - Default: Picking |
customStepsName.readyForPickup | Parameter used to change the title of the Ready For Pickup substep (optional) - Default: Ready For Pickup |
customStepsName.pickedUp | Parameter used to change the title of the Picked Up substep (optional) - Default: Picked Up |
Usage Example
Consider the following example:
<!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",
customStepsName: {
received: 'Recibimos tu orden',
picking: 'En recoleccion',
readyForPickup: 'Te espera en la tienda',
pickedUp: 'custom Picked Up'
}
}
window.instaleap.lsw.render(params)
</script>
</html>
You will see the following content
Example when the state of the order is Picked Up