Question

I am making an extension for multiple vendor in opencart and i am struck at a point. I want to add some code to the index.php file using the vqmod xml file. The xml file is working fine while making changes in other files but it doesn't work for index.php file. I am using this method of searching some code and then adding my code before that code. This works for all other files but not index.php, can anyone please help me out here.

Was it helpful?

Solution

You cannot edit index.php files (both frontend and admin) using vqmod. Vqmod can be used to virtually alter any php or tpl file in OpenCart except the main index.php files.

Reference link: http://forum.opencart.com/viewtopic.php?t=40987

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top