Added functionality to add to cart button