Forums / General Questions / Display Manufacturer´s About info in Manufacturer´s ID list

Display Manufacturer´s About info in Manufacturer´s ID list

Started by ppsoyal on 25 Jan 2011, 3:03 PM · Views: 2,184

Results 1 to 2 of 2
25 Jan 2011, 3:03 PM
#1
ppsoyal avatar

ppsoyal

New Zenner

Join Date:
May 2010
Posts:
33
Plugin Contributions:
0

Display Manufacturer´s About info in Manufacturer´s ID list

Hi.

I have installed the Manufacturer´s About mod, and it works fine, but I would like to show this module in the manufacturer ID pagelist.

For Example, If I select Sony from the manufacturers dropdown in the main page, I obtain all products by Sony in my shop, and in the breadcrumbs i can see INDEX::SONY. I would like that the Manufacturer info appears just before that all Sony products listing but I dont´n know the .php or file where i have to put this code that calls the manufacturer´s about info:

require($template->get_template_dir('/tpl_manufacturers_about_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_manufacturers_about_default.php');

I Think that the function that calls all products from a unique manufacturer is in the tpl_index_product_list.php, and also that I have to write a code that says:

When select a manufacturer ID, show the tpl_manufacturers_about_default.php with the same ID in the Manufacturer product list.

Any help or idea will be welcome. Think that if we do this we could create specifically information about different manufacturers when we list it.

Thank´s for time.

25 Jan 2011, 6:39 PM
#2
ppsoyal avatar

ppsoyal

New Zenner

Join Date:
May 2010
Posts:
33
Plugin Contributions:
0

Re: Display Manufacturer´s About info in Manufacturer´s ID list

Hi again.

More simple thing.

I have a Manufacturer´s About page with this code:

[PHP]// $Id: manufacturers_about_default.php v1.2.3.0 2005-01-04 langer $
//
?>

<table width="100%" border="0" cellspacing="8" cellpadding="2"> <tr> <tr> <td class="pageHeading" align="center" colspan="2"><h1><?php echo HEADING_TITLE; ?></h1></td> </tr> <tr> <?php $content = '<td nowrap="nowrap">'; if (zen_not_null($manufacturers_about->fields['manufacturers_image'])) { $content .= '<div align="left">' . '<center>Información acerca de</center><br>' . zen_image(DIR_WS_IMAGES . $manufacturers_about->fields['manufacturers_image'], $manufacturers_about->fields['manufacturers_name']) . '</div>'; } if (($manufacturers_about->fields['manufacturers_about'])) { $content .= '<td class="infoBox" width="100%">' . ($manufacturers_about->fields['manufacturers_about']) . '</td>'; } else { $content .= '<td class="infoBox" width="100%"> </td>'; } echo $content;

?>

</tr> <?php if (TEXT_INFORMATION) { ?> <tr> <td class="main" colspan="2"><?php echo TEXT_INFORMATION; ?></td> </tr> <?php } ?> <tr> <td class="main" colspan="2"><br /><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></td> </tr> </table> **<?php require($template->get_template_dir('/tpl_modules_featured_products',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>[/**PHP]

I want to replace the final PHP code marked in orange by the manufacturer´s product list corresponding to the selected manufacturer

Please could someone tell me how can i call this manufacturer product list?.

Thanks ;-)