You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When requesting the cart's total amount in the product function's Input object the value returned does not account for discounts. This creates issues when applying product discounts based on the total amount of the cart.
Steps to reproduce
Create order discount code for 30% off order
Create product discount function requesting cart total amount:
The total amount of the cart returned by the product function's Input object should account for changes in amount from discounts and discount codes as well
Which template or example
Describe the bug
When requesting the cart's total amount in the product function's Input object the value returned does not account for discounts. This creates issues when applying product discounts based on the total amount of the cart.
Steps to reproduce
Expected behavior
The total amount of the cart returned by the product function's Input object should account for changes in amount from discounts and discount codes as well
Environment
Additional context
An example of the cart:
Input (STDIN):
The text was updated successfully, but these errors were encountered: