Custom substep names

You can customize the title of the substeps of order

Specific configuration parameters

ParameterDescription
customStepsName.receivedstring which will be used as display title during the received order status
customStepsName.pickingstring which will be used as display title during the piking order status
customStepsName.goingToDestinationstring which will be used as display title during the goingToDestination order status
customStepsName.deliveredstring which will be used as display title during the delivered order status
customStepsName.readyForPickupstring which will be used as display title during the readyForPickup order status
customStepsName.pickedUpstring 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