I am generally new to opencart and VQmod, if you could advice me, that would be great.
Info:
- Running opencart on a local server using wamp. I installed latest version of VQmod 2.6.4-opencart and according to the url "localhost/vqmod/install/", it has been succesfully installed. (Currently trying older version 2.6.3 that still should have .twig support.
- vqcache does not cache new xml file when refreshing page, it does have vq2 files in it.
- Deleting checked.cache & mods.cache does nothing.
- I have full permissions on the vqmod folder.
What I'm trying to do is change a .twig file but to no avail, help would be appreciated.
This is my code.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<modification>
<id>VQMOD CORE FOR OPENCART - DO NOT REMOVE</id>
<version>1.4.x and above</version>
<vqmver required="true">2.6.0</vqmver>
<author>vqmod.com</author>
<file name="catalog/view/theme/default/template/product/product.twig">
<operation info="Stock availability" error="log">
<search position="replace"><![CDATA[
<li>{{ text_stock }} {{ stock }}</li>
]]>
</search>
<add><![CDATA[<li>test</li>]]></add>
</operation>
</file>
</modification>