Function to Store the quantity and Data regarding to the shopping cart in cakephp