Not OP, but I’m also trying to combine different discount levels on separate lines. I have made sure that the Discount Node was created with ProductDiscounts: true and it shows as being able to combine with Product Discounts in the Discounts tab of my test store. However, only the first discount in the array is processed on the checkout page. Here’s my function output as an example.
{
"discountApplicationStrategy": "MAXIMUM",
"discounts": [
{
"message": "Your member discount has been applied",
"targets": [
{
"productVariant": {
"id": "gid://shopify/ProductVariant/44721908678949"
}
}
],
"value": {
"percentage": {
"value": "10"
}
}
},
{
"message": "Your member discount has been applied",
"targets": [
{
"productVariant": {
"id": "gid://shopify/ProductVariant/44721908613413"
}
}
],
"value": {
"fixedAmount": {
"amount": "30",
"appliesToEachItem": true
}
}
}
]
}