small medium large xlarge

17 Jun 2015, 20:45
Adrian Lesniak (2 posts)


I am on the Chapter 9 Cart creation and maybe I might have overseen it but I cannot figure out at which point the Cart is being saved to the db?? Is it this line on p.113?

@line_item = product)

Can anyone please explain it to me where is cart saved because I cannot see anything similar to


17 Jun 2015, 21:57
Adrian Lesniak (2 posts)

I just clicked! lol Cart.create in CurrentCart concern saves in to the database. I completely forgot create method creates a new cart and automatically saves it :)

You must be logged in to comment