Hello, there is a flaw: when we finish to complete the cart, we can go to Applications>Cookies and edit the cartItems>[item]>price

To fix it : in ADD_ITEM_CART change the newItem to {name: action.payload.name, slug: action.payload.slug} Then when u map the cartItems, just search for each item : the item there is on data.js/database Works for me.

Bassir Answered question April 8, 2023