Order
- Alert key:
woocommerce-order - Source: WooCommerce
- Event list label: Order
Default message template
Someone just ordered {{item}} in the amount of {{amount}}
Example payloads
Each scenario below mirrors what Lumia emits in Overlay.on('alert', (data) => …).
$100
{
"alert": "woocommerce-order",
"dynamic": {
"value": 100,
"currency": "USD"
},
"extraSettings": {
"username": "lumiastream",
"item": "rgb light",
"amount": 100,
"currency": "USD"
}
}
$200
{
"alert": "woocommerce-order",
"dynamic": {
"value": 200,
"currency": "USD"
},
"extraSettings": {
"username": "lumiastream",
"item": "rgb light, smart plug",
"amount": 200,
"currency": "USD"
}
}
$300
{
"alert": "woocommerce-order",
"dynamic": {
"value": 300,
"currency": "USD"
},
"extraSettings": {
"username": "lumiastream",
"item": "rgb light, keylight, smart plug",
"amount": 300,
"currency": "USD"
}
}
Variation conditions
Dimensions you can branch on when configuring alert variations:
RANDOMEQUAL_CURRENCY_NUMBER- Donation Amount is equal toGREATER_CURRENCY_NUMBER- Donation Amount is greater than or equal toEQUAL_VARIABLE
Related
- Alert Explorer - live preview of every alert
- Overlay Type Definitions - full
AlertEventTypeScript type