Code Difference between vqmod and ocmod in Opencart
- Vqmod Necessary Code Tags are:-
<id>Extension Name</id>
<version>1.0.0</version>
<vqmver>2.1.5</vqmver>
<author>Ravi</author>
2. Ocmod Necessary Code Tags are:-
<name>Extension Name</name>
<version>1.0.0</version>
<link>http://opencart.devinlabs.com</link>
<author>Ravi</author>
******** Major Differences between Vqmod and Ocmod ***********
- In Vqmod we Use "Name" for the file full path but for Ocmod we Use "Path" i.e:- Vqmod = <file name="catalog/controller/common/seo_url.php" error="skip"> Ocmod = <file path="admin/view/template/catalog/product_form.tpl"> in Ocmod and Vqmod for multiple files in same directory we would use like this:- <file path="catalog/view/theme/journal2/template/" name="product/search.tpl,product/category.tpl,product/manufacturer_info.tpl">
- In Vqmod "Position" we use in "search" tag but in Ocmod we use "Position" in "add" tag i.e. Vqmod = <search position="after"> Ocmod = <add position="before">