Skip to content

Part III: Order Products - Frontend #56

Description

@Zezlita

As a user, we would like to be able to see the user data, cart data, click on the complete order button to checkout and have the option cancel the order.

  • Write a component to display a checkout experience
    • Display user data (perhaps reusing the single-user component)
    • Display cart data (perhaps reusing the single-order component)
    • Create a "Complete Order" button
      • Updates the order status to completed
      • Credit Card integration is in a future tier
      • Display a success message, confirming the order status is now completed.
    • Create a "Cancel Order" button
      • Updates the order status to cancelled
      • Display a success message, confirming the order is cancelled.
      • Optionally, redirect user to another route (home?)
  • Display the checkout component when the url matches /cart/checkout (*)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions