added template global to get current cart