Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MARKE-10] Basket Menu Implementation #62

Open
rayapetkova opened this issue Aug 6, 2023 · 2 comments
Open

[MARKE-10] Basket Menu Implementation #62

rayapetkova opened this issue Aug 6, 2023 · 2 comments
Assignees
Labels
database Postgres DB management GitHub Github-Migrated high Plane products Products display in front-end 🔴 High Priority High Priority

Comments

@rayapetkova
Copy link
Collaborator

rayapetkova commented Aug 6, 2023

  1. Make a button 'Basket' near the button 'Favourites' (top layout)
  2. Make a new file 'basket.py' which contains only a function that returns the new scroll layout
  3. Make functionality for the 'Basket' button - when it is clicked it needs to replace the category groupbox with the new scroll layout
  4. If the user tries to add an item which is already in the basket, a pop-up message needs to be shown. We need to add two buttons for different options - 'Add more' and 'Cancel'
  5. If the user tries to add an item with quantity greater than the available, a pop-up message needs to be shown saying "You have exceeded the available quantity of this product. Please choose a smaller quantity!"
  6. The logic for the quantity needs to be implemented (for example when do we need to reduce the quantity of a product)
@rayapetkova rayapetkova converted this from a draft issue Aug 6, 2023
@rayapetkova rayapetkova self-assigned this Aug 6, 2023
@rayapetkova rayapetkova added database Postgres DB management products Products display in front-end 🔴 High Priority High Priority labels Aug 6, 2023
@rayapetkova
Copy link
Collaborator Author

Last changes: da2eed5

  • Made a button 'Basket'
  • Made a new file 'basket.py' in which we have a function basket_menu()
  • When the 'Basket' button is clicked we hide the categories_groupbox and show the new scroll layout (the scroll_layout is returned from the basket_menu_function()
  • When the user tries to add an item which already exists in the basket, a pop-up message is shown and says "Product already exists in basket."
  • When the user tries to add an item with quantity greater than the available, a pop-up message is shown and says that he needs to choose a smaller one

Need to do:

  • When the user wants to add an item which already exists in the basket we need to add two buttons 'Add more' and 'Cancel' to the error message
  • The logic for the quantity
  • How the user will remove items from the basket
  • If the user can add an item from basket to favourites

@makeplane makeplane bot changed the title Basket Menu Implementation [MARKE-10] Basket Menu Implementation Aug 28, 2023
@rayapetkova
Copy link
Collaborator Author

Last changes: 0b405f0

  • The user can add a product from basket to favourites
  • Added a remove button to every product in basket (its functionality is implemented and the query is executed successfully)
  • Added a ToolTip to every button that refers to a product

@karastoyanov karastoyanov moved this from In Progress to Done in First Stable Version - market-app Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database Postgres DB management GitHub Github-Migrated high Plane products Products display in front-end 🔴 High Priority High Priority
Projects
Development

No branches or pull requests

1 participant