I'm in the process of creating a shopping cart, I have these value informations to show:
- Discount: % or $ of discount. *only shows when user insert gift code
- Subtotal: All item values
- Shipping: Shipping cost
- Total: All items + shipping cost
In which order should I display those values? Also, when using a discount value, where/how should I apply those calculations?
Currently I'm using as shown on the image below:
As you can see, first I show how much is the discount (both in % and in $), after that I show the
subtotal and already apply the discount calculation. Is this the best way to do this?
Or should I apply the discount calculation only in the
Total line? Or what other solution should I consider?