added cart processor for template