FelipeGallo Posted September 6, 2016 Share Posted September 6, 2016 Hello! I was tryed put $cookie->email|escape:'htmlall':'UTF-8' inside a script core (below), to capture customer email after a registration into the shopping-cart.tpl. <script type="text/javascript">{literal}var emailLead = "{$cookie->email|escape:'htmlall':'UTF-8'}" . . </literal></script> The variable is not load, anyone knows why? Sorry my bad english Felipe Please mark as solved Link to comment Share on other sites More sharing options...
vekia Posted September 7, 2016 Share Posted September 7, 2016 solution posted by FelipeGallo It worked putting </inside> before the variable <script type="text/javascript">{literal}var emailLead = "{/literal}{$cookie->email|escape:'htmlall':'UTF-8'}{literal}" . . </literal> <script> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now