jeudi 2 juin 2016

OO design for simple Shopping Cart and Cart Items handling?

Business requirements:
     Simple cart/cart items handling
         Adding items to cart
         Removing items from cart
     Cart empty
         One click empty cart
     Cart edit
         Editing existing items of cart
     Carts types:
         1- Order cart
         2- Wish-list cart
         3- Ability to programmatically add any additional types of carts
     Products type:
         1- Normal item
         2- Sale item
         3- Ability to programmatically add any additional types of cart items

I just need some hinting about an appropriate OO design, to make sure I'm going in the right direction.

Aucun commentaire:

Enregistrer un commentaire