This page mainly helps users to view order information before payment, mainly in the following aspects:
1. Order product information, such as quantity, color, size, etc. 2. Receipt information, don't send it to
the wrong place
1. Shipping address
First, you need to obtain the default delivery address set by the user. If not, you need to display the new address. The user clicks to enter the address management page.
2. Order goods
Pay now item, only one item
Shopping cart payment items, there are multiple items
In fact, it is the same, and finally needs to be formatted as a product list
3. Discount information
Confirm what discounts are available, member discounts? Store promotion? . . .
4. The final payment amount
Calculate the total price of the product - the total discount price = the final payment amount