Skip to content
Open
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
6764308
feat: add ProductVariant model and update related schemas for cart an…
Angel-Briones Aug 31, 2025
846ce4b
feat: add productVariants function to handle product size and type va…
HaroldHLM Aug 31, 2025
a72c4dc
feat: enhance product model and service to include variants with pric…
Angel-Briones Aug 31, 2025
e759eec
feat: update ProductCard to display variant price and enhance product…
HaroldHLM Aug 31, 2025
e6f778f
feat: enhance product loader and display variant selection with hover…
Angel-Briones Sep 1, 2025
67ecd0a
feat: enhance cart functionality to support product variants in add, …
HaroldHLM Sep 1, 2025
5a3cd2f
feat: update cart functionality to handle product variants in add and…
Angel-Briones Sep 1, 2025
8d2d6a1
feat: update checkout action and display to handle product variants i…
HaroldHLM Sep 1, 2025
b60fd9b
feat: update order display to include product variant IDs in order items
Angel-Briones Sep 1, 2025
7293f6e
feat: enhance chat system to support product variants and improve car…
HaroldHLM Sep 1, 2025
4054c3e
feat: add productVariantId to test order item creation functions
Angel-Briones Sep 1, 2025
2324248
feat: update product tests to include variant parameters and mock data
HaroldHLM Sep 1, 2025
dc18624
feat: add tests for cart functionality with product variants and tota…
Angel-Briones Sep 1, 2025
026d1e3
feat: add README with new functionality and suport variants
HaroldHLM Sep 1, 2025
9ed55af
docs: add product variants justification and implementation summary t…
Angel-Briones Sep 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: add productVariantId to test order item creation functions
  • Loading branch information
Angel-Briones committed Sep 1, 2025
commit 4054c3ed582cb423a05fedfd64c0db374fe56a6f
2 changes: 2 additions & 0 deletions src/lib/utils.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ export const createTestOrderItem = (
title: "Test Product",
price: 100,
imgSrc: "test-image.jpg",
productVariantId: null,
createdAt: new Date(),
updatedAt: new Date(),
...overrides,
Expand All @@ -142,6 +143,7 @@ export const createTestDBOrderItem = (
title: "Test Product",
price: new Decimal(100),
imgSrc: "test-image.jpg",
productVariantId: null,
createdAt: new Date(),
updatedAt: new Date(),
...overrides,
Expand Down