Fixed total_price method in cart model to retrieve sum from line_items