Hi,
Is there any way to execute a php script inside the like /my_changes/controller/customer/init.post.php ?
Thanks!
Why do you want to do it from a template?
Hi Tbirnseth,
Thanks for your reply.
Well its a standalone script and i have included it already in the top.tpl.
I dont know how to it in an other way…
Whats the other way and especially how?
Kind regards,
Bas
Hi @Bas,
You can create a static_template.
You just need to creat a file with the custom code into skins/[SKIN_NAME]/customer/addons/my_changes/blocks/static_templates/custom_code_filename.tpl
And after that you add a block into Design > Blocks
[ Tested on cs-cart v.3.0.6 professional ]
I hope that helps,
—
Valentin