Παράδειγμα Plugin σε OpenCart

<?xml version=”1.0″ encoding=”utf-8″?>
<modification>
<name>Categories Fixed on Scroll</name>
<version>1.0</version>
<author>Standupguy</author>
<code>categories-fixed-on-scroll</code>
<link>http://standupguy.co.uk</link>
<file path=”catalog/view/theme/*/template/common/header.tpl”>
<operation>
<search><![CDATA[
</head>
]]></search>
<add position=”before”><![CDATA[
<script src=”catalog/view/javascript/categories-fixed-scroll.js” type=”text/javascript” async></script>
]]></add>
</operation>
</file>
</modification>

 

categories-fixed-1.0.ocmod

Leave a Reply