Magento version: 2.0.0
When user add products into cart, where are they saved? $_SESSION or Database? If it is in database, which table?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityMagento2, save cart details at Quote tables.
quote
table .quote_item
.quote_item_option
Additional:
quote_address
.quote_payment
.Magento2 use Quote module Magento_Quote (vendor/magento/module-quote)
for save all Cart general,items detail,address details etc.
And Mage_Checkout module's Session Cart model make relation between user,session with Cart details
Magento\Quote\Model\Quote\Address
or have to use quote QuoteRepository
quote table is not cart. If you delete quote from DB raw by entity_id it will be restored with new entity_id. It will have all items.