Skip to content

Conversation

@meeklife
Copy link
Contributor

@meeklife meeklife commented Jul 15, 2025

  • Add to Cart
  1. User selects a product and quantity.
  2. System checks inventory to ensure sufficient stock.
  • Order Placement
  1. User proceeds to checkout.
  2. System validates cart items and rechecks inventory.
  3. After order, inventory is permanently decremented.
  • Overriding Product's save method to ensure a default inventory quantity is set when a product is created

kryzbone and others added 27 commits May 11, 2024 18:34
remove conflicting migration files
@meeklife meeklife requested a review from kryzbone July 15, 2025 21:54
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.

3 participants