Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit f56187b

Browse files
author
Steph Dietz
committed
return total cart quantity on cart type
1 parent 5bf3c2c commit f56187b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/functions/assembly/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export class Cart {
4141
constructor(
4242
public cartId: string,
4343
public items: CartItemObject[] = [],
44+
public totalQuantity: f64 = 0,
4445
) {}
4546
}
4647

0 commit comments

Comments
 (0)