When a Sell transaction is created, its Sell Details can each refer to a Product with a given price at a given time. But while the prices for those Products are subject to change over time, the prices stated in the details should not. The Sell Detail model can highly benefit from adding a property that acts as a "snapshot" of the item's price at the time the transaction was made.
When a Sell transaction is created, its Sell Details can each refer to a Product with a given price at a given time. But while the prices for those Products are subject to change over time, the prices stated in the details should not. The Sell Detail model can highly benefit from adding a property that acts as a "snapshot" of the item's price at the time the transaction was made.
Originally posted by @bglamadrid in https://github.com/trebol-ecommerce/trebol-api/issues/16#issuecomment-910732277