Answer the question
In order to leave comments, you need to log in
Manufacturer in recommended opencart 2.3?
Hey! I'm trying to display the manufacturer in the recommended products, under the name of the product. In the course of googling, I found a lot of solutions for later versions of opencart, but such solutions do not want to work for me. So I understand you need to edit catalog\controller\extension\module\featured.php and catalog\view\theme\themename\template\extension\module\featured.tpl
In featured.php into the array $data['products'][] = array added
and naturally after these manipulations a bunch of errors in featured.tpl
, what am I doing wrong or maybe where I haven’t finished it yet to make it work? 'manufacturer'=> $result['manufacturer'],
<p>echo $product['manufacturer']; </p>
Answer the question
In order to leave comments, you need to log in
Your campaign variable is not the same https://github.com/opencart/opencart/blob/2.3.x/up...
replace with$product_info['manufacturer'];
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question