Jump to content

$cookie inside script


FelipeGallo

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...