Page 1 of 1
insert php file into tpl
Posted: Wed Jun 21, 2017 2:06 pm
by e.user
Hi,
I create the custom tpl in information that contain custom form ,i want to load send.php in action of form in tpl, how can i do it???
Re: insert php file into tpl
Posted: Fri Sep 29, 2017 8:01 pm
by straightlight
Opencart v3.x no longer supports TPL files as it now supports the TWIG files which no longer supports / requires PHP calls from the template files.
Re: insert php file into tpl
Posted: Fri Sep 29, 2017 8:42 pm
by kestas
What version of OC? If version 3.x.. no support tpl files. In older OC versions you can simply insert php code using <?php /*someyour code */ ?> thats all.
Re: insert php file into tpl
Posted: Wed Dec 20, 2017 12:08 am
by straightlight