Skip to content

Finish order process - #61

Merged
ScriptyChris merged 5 commits into
developfrom
improvement/finish-order-process
Mar 2, 2023
Merged

Finish order process#61
ScriptyChris merged 5 commits into
developfrom
improvement/finish-order-process

Conversation

@ScriptyChris

Copy link
Copy Markdown
Owner
  • implemented saving new orders to database via Order model. Completed Orders view, which presents either all clients orders (for seller user view) or only for currently logged in client. Client can be redirected to newly made order after it's created via form
  • added product's availability property - which gets decreased relatively to each product's ordered units - to prevent infinite amount of product's units per order
  • improved navigation UX on ProductDetails and Account pages
  • added prompt, which lets newly registered user to be redirected to login page
  • made cart to be cleared on logout
  • fixed NotFound page throwing an error
  • updated tests
  • temporary disabled integration with PayU API [Implemented basic integration with PayU API #27], because available payment method has to be synced with the one chosen by client in order form and - in case of the 3rd party API failure - a fallback needs to be implemented

…page throwing an error when no state is passed.
…end. Temporary remove order's payment integration with PayU API.
…ew - sellers see all client's orders and each client sees their own ones. Clear cart on logout.
… each made order) with regarding validation and prevent adding an unavailable product to the cart. Add button redirecting to login page on successful registration popup.
@ScriptyChris ScriptyChris added the enhancement New feature or request label Mar 2, 2023
@ScriptyChris
ScriptyChris merged commit 3b3cc60 into develop Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant