Answer the question
In order to leave comments, you need to log in
How to get Email from OpenCart3 TWIG store settings?
There are a lot of instructions on the Internet to output Email to tpl files of the old OpenCart, but in version 3 of php in TWIG it doesn’t work, so I don’t understand how to display email from the store settings in Opencart, I wrote {{ email }}, it doesn’t help, although I brought out the phone exactly like this {{ .telephone }}. I'm waiting for an answer, thanks
Answer the question
In order to leave comments, you need to log in
I solved the issue myself, in short, we go into the controller at - /public_html/catalog/controller/common. Open footer, header or whatever you need, and paste this code there - $data['email'] = $this->config->get('config_email');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question