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

Refactor Functions in cart.js for Improved Organization #28

Open
5 tasks
rdpfeifle opened this issue Jan 4, 2024 · 0 comments · May be fixed by #33
Open
5 tasks

Refactor Functions in cart.js for Improved Organization #28

rdpfeifle opened this issue Jan 4, 2024 · 0 comments · May be fixed by #33
Assignees

Comments

@rdpfeifle
Copy link
Owner

Summary

Refactor functions in cart.js to achieve better organization and a clearer separation between functionality and UI. This will enhance code readability, and maintainability, and potentially uncover opportunities to optimize or simplify the logic.

Acceptance criteria

  • Thoroughly review three key functions: addToCart, updateCartQuantity, and updateProductQty.
  • Refactor, delete, or separate the functionality/UI of these functions as necessary to improve clarity and efficiency.
  • Ensure all console.log() statements used for debugging are removed across the application before merging the pull request.
  • Test the refactored code thoroughly to confirm that the cart functionality remains intact and efficient.
  • Document any significant changes or decisions made during the refactoring process.
@rdpfeifle rdpfeifle self-assigned this Jan 4, 2024
@rdpfeifle rdpfeifle moved this from Todo to In Progress in eCommerce with Vanilla JS Jan 7, 2024
@rdpfeifle rdpfeifle linked a pull request Jan 7, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant