Sorry to bump this post up but I have been trying to play arround with this mod but can't get it to do what I want.
I got this mod to work as explained above. But what I am trying to display the manufacturer description on the product display page under the productDetailsList. I will be switching my product display page to Tabs so it will be nice to display the manufacturer description under that tab.
I noticed the kuri is been helpful in giving information about creating this mod. It would be great if I can get a reply from him or anybody else that know how I can get this working.
I don't really care about the sidebox that came with this mod.
The code I have been working with is: ```
<?php
if (isset($_GET['manufacturers_id']) && $_GET['manufacturers_id'] > 0) {
$chk_manufacturers_image_query = "select m.manufacturers_image, m.manufacturers_name, m.manufacturers_id
from " . TABLE_MANUFACTURERS . " m
where m.manufacturers_id = " . $_GET['manufacturers_id'];
$chk_manufacturers_image = $db->Execute($chk_manufacturers_image_query);
echo '<div id="mfrInfo"><div class="floatLeft"><a href="' . zen_href_link(FILENAME_MANUFACTURERS_ABOUT, 'manufacturers_about_id=' . $chk_manufacturers_image->fields['manufacturers_id']) . '">' . zen_image(DIR_WS_IMAGES . $chk_manufacturers_image->fields['manufacturers_image']) . '</a><h1 class="about"><a href="' . zen_href_link(FILENAME_MANUFACTURERS_ABOUT, 'manufacturers_about_id=' . $chk_manufacturers_image->fields['manufacturers_id']) . '">' . $chk_manufacturers_image->fields['manufacturers_name'] . '</a></h1></div>';
}
?>
<?php
if (isset($_GET['manufacturers_id']) && $_GET['manufacturers_id'] > 0) {
$chk_manufacturers_about_query = "select mi.manufacturers_about
from " . TABLE_MANUFACTURERS_INFO . " mi
where mi.manufacturers_id = " . $_GET['manufacturers_id'];
$chk_manufacturers_about = $db->Execute($chk_manufacturers_about_query);
echo '<div class="text">' . $chk_manufacturers_about->fields['manufacturers_about'] . '</div></div>
<div><img src=images/pixel_trans.gif width="100%" height="10px" /></div>';
}
?>