Locking Down Product Item

prisma

#1

I am making an e-commerce app and I want to lock down product data info.
For example, if a customer orders a shoe which has:

{
  name: "Nike pro",
  price: $129
}

in his cart

and somehow I want to update its price to :

{
  name: "Nike Pro 2019 edition",
  price: $149
}

but I don’t want its price to get updated in customer’s cart it should be $129 there not the latest price at $149,

How can I model such database

Prisma Version: 1.34.0
MongoDB Version: 3.6
client: generated javascript client
Working OS: Ubuntu Ubutnu 18.04