I have added this line to catalog/controller/product/category.php
Code: Select all
$data['string1'] = "string 1";
Code: Select all
$this->response->setOutput($this->load->view('product/category', $data));
Code: Select all
<h4 class="name"><a href="{{ product.href }}">{{ product.name }} </a></h4>
Code: Select all
<h4 class="name"><a href="{{ product.href }}">{{ product.name }} {{ string1 }} </a></h4>
I have disabled twig cache also from Environment.php,
but it shows nothing, what did I miss?
Thanks in advance.