You can customize the title of the substeps of order
Specific configuration parameters
Parameter | Description |
---|---|
customStepsName.received | string which will be used as display title during the received order status |
customStepsName.picking | string which will be used as display title during the piking order status |
customStepsName.goingToDestination | string which will be used as display title during the goingToDestination order status |
customStepsName.delivered | string which will be used as display title during the delivered order status |
customStepsName.readyForPickup | string which will be used as display title during the readyForPickup order status |
customStepsName.pickedUp | string which will be used as display title during the pickedUp order status |
Usage 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',
goingToDestination: 'En camino a tu casa',
delivered: 'Te lo entregamos',
readyForPickup: 'Te espera en la tienda',
pickedUp: 'custom Picked Up'
}
}
window.instaleap.lsw.render(params)
</script>
</html>
The step names configuration is set in the "customStepsName" attribute of the configuration object.
You will see the following content
Example when the state of the order is Picked Up