i had a shopping cart in which there are many products. user can purchase any number of specific item or different items e.g. he buys 3 items of product number 1, and he buys 2 items of product number 2.
Bu onun kimliği ile tek bir kullanıcı için iki farklı kayıtlar olarak veritabanında saklanır. Şimdi ben o seçtiği öğelerin totall sayısını görmek istediğinizde.
Bunu nasıl yapabilirsiniz?