Skip to content

New Features: adding coupon code/ discount code validation & wishlist feature#10

Open
aadyasingh2005 wants to merge 2 commits into
HuXn-WebDev:mainfrom
aadyasingh2005:new_feature
Open

New Features: adding coupon code/ discount code validation & wishlist feature#10
aadyasingh2005 wants to merge 2 commits into
HuXn-WebDev:mainfrom
aadyasingh2005:new_feature

Conversation

@aadyasingh2005

Copy link
Copy Markdown

Implemented a user Wishlist feature (separate from Favorites):
~Added backend endpoints to manage per-user wishlists with auth.
~Integrated a dark-themed Wishlist page and a clear wishlist toggle button on product cards.
~Added a navigation badge indicating wishlist count.

Added a simple Coupon Code system:
~Created coupon model and validation endpoint.
~Applied coupon discount on Place Order with server-side revalidation and final total recalculation.
~Included a seeding script to populate a few test coupons.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant