Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
https://webocreation.com/blog/how-to-see-all-variables/
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Simply add just before any call to the view like:
Code: Select all
$this->response->setOutput($this->load->view('product/product', $data));
Code: Select all
If (TWIG_PRINT_DATA_STRUCTURE) {
$this->log->write('data structure to view: product/product'.print_r($data,true));
}
Code: Select all
// print data passed to view to the oc error log
define('TWIG_PRINT_DATA_STRUCTURE', true);
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Users browsing this forum: Bing [Bot] and 55 guests