I trying to create a modification for Journal Quick Checkout, but it seems to be doesn't include my code to the page. Here is the content of my modification:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<modification>
<name>Test modification</name>
<version>1.0</version>
<author>Oleg</author>
<link>http://www.od.com</link>
<file path="catalog/view/theme/journal2/template/journal2/checkout/checkout.twig">
<operation>
<search><![CDATA[{{ footer }}]]></search>
<add position="before"><![CDATA[
<script>alert('works')</script>
]]></add>
</operation>
</file>
</modification>
Code: Select all
<script>alert('hello')</script>
I have such a feeling, that the ocmod can't find this:
Code: Select all
{{ footer }}
Someone help me, please