Step Ready To Pickup
You can change the default "Title", "Help Text" and "icon" used in the order steps by setting them via URL parameter on each step. The "Title" and "Help Text" configuration are being set in the "steps" attribute of the configuration object.
Implementation
Available parameters
Parameters lib | Parameters web | Description |
---|---|---|
steps.readyToPickup.title | stepReadyToPickup | String which will be used as display name during the Ready To Pickup order step |
steps.readyForPickup.help | stepReadyToPickupHelp | String which will be used as display help text during the Ready To Pickup order step |
steps.pickedUp.icon | stepReadyToPickupIcon | Parameter used to change the icon of the Picked up step |
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",
steps: {
readytoPickup: {
title: 'Title to ready for pickup step',
help: 'Help text to ready for pickup step',
icon: 'Icon url',
}
},
}
window.instaleap.status.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/status?job=myJob&token=myToken&stepReadyToPickup=text&stepReadyToPickupHelp=text&stepReadyToPickupIcon=url
Demo
NOTE: Please do not modify the Demo, this is a visual aid.
Updated 4 days ago