Discussing Shopify Functions development, deployment, and usage in Shopify apps.
Here is my output:
{ "discounts": [ { "message": "20% OFF VIP CUSTOMER", "targets": [ { "productVariant": { "id": "gid://shopify/ProductVariant/XXXXX", "quantity": 2 } } ], "value": { "percentage": { "value": 20 } } } ], "discountApplicationStrategy": "ALL" }
And in Checkout it only shows Discount Code, but not custom message. Maybe there are some other pre-requisites I'm missing?
Is the combination selected for the special discount? Could it conflict with other discounts?