PS. Previous posts on the subject seem to be out of date
There has to be a better way of doing this than echo'ing from a liquid template.
Some apps rely on context of the currently logged in customer. By asking merchants to update their liquid code for core functionality isn't a good answer.