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

Duplicate Items in Cart #52 #67

Merged
merged 3 commits into from
Oct 2, 2024
Merged

Duplicate Items in Cart #52 #67

merged 3 commits into from
Oct 2, 2024

Conversation

satyam1024
Copy link
Contributor

issue #52

Summary of Changes:
This update enhances the functionality of the addToCart function to include a check for item existence within the cart. If an item already exists, the function will now update the quantity of that item and recalculate the total price. Additionally, corresponding updates have been made to the order menu to ensure it reflects these changes accurately.

previous ->
Screenshot (2996)

now-.>
Screenshot (2999)

Screenshot (2998)

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Thank you for your contribution! Your pull request has been submitted successfully. A maintainer will review it as soon as possible. We appreciate your support in making this project better

@Altair-05 Altair-05 merged commit 64ff968 into dohinaf:main Oct 2, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants