Fixed cart count showing template code before init