R
R
ravlex2016-10-20 19:56:56
PHP
ravlex, 2016-10-20 19:56:56

How to display product description in Wish-list Opencart?

I am adding a line

'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, $this->config->get('config_product_description_length')) . '..',

in the controller and try to display like this:
<?php echo $product['description']; ?>
But I get an error:
Undefined index: description in
What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question