davidddp Posted March 17, 2017 Share Posted March 17, 2017 Como puedo obtener el id del cliente en un fichero .tpl? Según he visto mediante el inspector de Chrome es valor lo almacena la variable $id_customer pero no se como debo usar dicha variable dentro de un fichero .tpl Link to comment Share on other sites More sharing options...
Sergio Ruiz Posted March 17, 2017 Share Posted March 17, 2017 Supuestamente en Prestashop 1.7 con (con var_dump, segun dice Nadie puedes ver todos los valores que toma una variable): {$customer.id} Según observo en este enlace de 'Nadie': . http://victor-rodenas.com/variables-globales-en-prestashop-1-7 1 Link to comment Share on other sites More sharing options...
davidddp Posted March 17, 2017 Author Share Posted March 17, 2017 Funciona!!! Ahora solo me queda poder añadirlo a los albaranes y facturas! 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