You can change the text of the cancel order button
Specific configuration parameters
URL Params Encoding
Remember that we require to comply with (UTF-8) encoding when sending query params. so that if your custom name string has whitespace, you should replace it with the symbol "%20".
Parameter | Description |
---|---|
cancelOrderText | Parameter used to change the name of the cancel button Default: Cancel order |
Usage Example
Consider the following examples:
Cancel order text
<!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",
cancelOrderText: textoCancelado"
}
window.instaleap.lsw.render(params)
</script>
</html>