Add My Orders & Edit Address Pages to My Account Page
|Assignee:||Pavan Rikhi||% Done:|
|Category:||Customers||Spent time:||38.63 hours|
|Target version:||v0.6.0 - Checkout|
orders table on my account page, maybe a re-order button that adds items for a previous order to the user's cart.For editing/adding addresses:
- disable addresses on delete
- if adding address, see if there is a disabled one we can activate instead
- if editing address, disable existing & create/activate new address.
[#1117] Add Order Details to My Account Section
Add an Order Details page for Customers to view their previous orders.
Add a `View` button to the Order Summary table on the My Account page,
taking Customers to the Order's Details page.
Rename the `checkoutSuccess` field in the PageData model to
[#1117] Replace Contact Edit & Details Routes with Address Routes
Remove the Contact Edit, & Details API routes, replacing them with an
Address Edit, Details, & Delete API routes.
Addresses are never actually edited or deleted, just marked inactive so
that they can still be referenced for older orders. When creating new
addresses, we first check to see if we can activate a deleted or
modified address instead.