This PR represents the bare-bones functionality required to implement the Shopping Cart feature.
The basic idea here is that there's a Cart model, and a Cart Item model, which is a Polymorphic model that resolves to an Album or a Song. Prices are set for both Albums and Songs, so it should be trivial to calculate the Cart total.
This PR represents the bare-bones functionality required to implement the Shopping Cart feature.
The basic idea here is that there's a Cart model, and a Cart Item model, which is a Polymorphic model that resolves to an Album or a Song. Prices are set for both Albums and Songs, so it should be trivial to calculate the Cart total.