For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
The above screenshot has the output from useApi() in the console. As you can see, discountCodes shows a correct array of one discount. However, discountAllocations appears to be empty, despite there being a discount applied.
Is this a bug or does discountAllocations work differently?
Same here, 8 months later. Seems like a bug.
Did you manage to solve it?