added attributes and quantity features for cart app