Results 1 to 2 of 2
  1. #1
    Join Date
    May 2010
    Posts
    33
    Plugin Contributions
    0

    Default 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:

    PHP Code:
    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.

  2. #2
    Join Date
    May 2010
    Posts
    33
    Plugin Contributions
    0

    Default 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%">&nbsp;</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 ;-)

 

 

Similar Threads

  1. Display manufacturer logos instead of list
    By aself in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 15 Apr 2013, 11:36 PM
  2. Replies: 0
    Last Post: 25 Sep 2010, 11:15 AM
  3. Code help to display manufacturer info on prod page?
    By twdhosting in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Jun 2009, 10:36 AM
  4. How can I change the manufacturer list to a drop list?
    By maxima in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Oct 2006, 04:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR