edit templ cart bugfix