extract cart menu in separate file