Good day sir.
I how do i display the manufacture name on the product grid view. An example is this
Product name
Manufacturers name
Price.
Or how do i add another field to display on the product grid view. An example is this
Product name
Field 1
Field 2
Price.
Thats all i want. please sir. i have tried all i could but its not displaying. please help. Thanks
My opencart version is 1.5.6.1
catalog/controller/product/category.php file,
find:
add below:
In your catalog/view/theme/<your_theme>/template/product/category.tpl file, you can add:
below the line:
find:
Code: Select all
'name' => $result['name'],
Code: Select all
'manufacturer' => html_entity_decode($result['manufacturer'], ENT_QUOTES, 'UTF-8'),
Code: Select all
<?php echo $product['manufacturer']; ?>
Code: Select all
<?php echo $product['name']; ?>
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 15 guests