added helper method to CartMixin