Hi I want show the manufactures name in the products page just before the product descriptions?
How can i do this?
Thanks
Abhijit
EDIT: catalog/controller/product.php
FIND:
AFTER, ADD:
EDIT: catalog/template/default/product.tpl
FIND:
REPLACE WITH:
FIND:
Code: Select all
$view->set('images', $image_data);
Code: Select all
$view->set('manufacturer', $database->getRow("select * from manufacturer where `manufacturer_id` = '" . (int)$product_info['manufacturer_id'] . "'"));
EDIT: catalog/template/default/product.tpl
FIND:
Code: Select all
<div class="left"><?php echo $heading_title; ?></div>
Code: Select all
<div class="left"><?php echo (isset($manufacturer) && $manufacturer != null) ? $manufacturer['name'] . " - " : NULL; ?><?php echo $heading_title; ?></div>
Who is online
Users browsing this forum: No registered users and 5 guests