so as to remove description you can do it with many ways
one of them is to go to catalog/controler/product/category.php
and add to line 362 before : $this->response->setOutput($this->load->view('product/category', $data));
Code: Select all
$data['description'] = null ;
if (isset($data['products'])) {
foreach ($data['products'] as $key => $product) {
$data['products'][$key]['description'] = null;
}
}
go to file catalog/view/theme/*/template/product/category.twig
and replace <p>{{ product.description }}</p>
with
{% if product.description %} <p>{{ product.description }}</p>{% endif %}
or simple you can only delete this line
" <p>{{ product.description }}</p>
from file catalog/view/theme/*/template/product/category.twig
ofcource all this has to be done or with an event (first solution)
or with ocmod (second solution)
its very bad practice to change core files of oc