Skip to content

Commit

Permalink
Fes-24-add-to-cart-3 compare note for indentical check (#37)
Browse files Browse the repository at this point in the history
* compare note for identical check
Co-authored-by: NHT <[email protected]>
  • Loading branch information
nfesta2023 authored Jan 11, 2024
1 parent e50c38d commit 051435b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/feature/cart/cart.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ export class CartService {
i.sku_id == sku_id &&
i.advanced_taste_customization_obj ==
advanced_taste_customization_obj_txt &&
i.basic_taste_customization_obj == basic_taste_customization_obj_txt,
i.basic_taste_customization_obj ==
basic_taste_customization_obj_txt &&
i.notes == notes,
);
if (existingItem) {
//The item does exist => increase the quantity
Expand Down

0 comments on commit 051435b

Please sign in to comment.