Replace html in phtml files and not observers

Move the cart item and total price replacement to be done via template
files rather than in an observer.