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
More detailed documentation will help SDK users a lot :)
For instance, one may think cart.discountAmount is a sum of cart.discounts.discountedAmount, but in reality these two seems to be completely independent value (!)
My current understanding is cart.discountAmount is a cart-level discount while cart.discounts is a user-entered coupons.
More detailed documentation will help SDK users a lot :)
For instance, one may think
cart.discountAmount
is a sum ofcart.discounts.discountedAmount
, but in reality these two seems to be completely independent value (!)My current understanding is
cart.discountAmount
is a cart-level discount whilecart.discounts
is a user-entered coupons.Can these information explicitly added to https://github.com/bigcommerce/checkout-sdk-js/blob/master/docs/interfaces/cart.md ?
The text was updated successfully, but these errors were encountered: