Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2008
    Posts
    54
    Plugin Contributions
    0

    Default Display Featured Sidebox and Modifying Manufacturer Label Sidebox

    hi, i have a similar issue -- i am trying to get my featured product sidebox to display on the right side, but no matter what i do, it won't show. this is what i currently have in my /public_html/includes/templates/12541/sideboxes/tpl_featured.php file. /tpl_featured had to be copied from the default template folder because it did not exist in my modified template (12541).

    my website is: http://www.indiediggs.com

    <?php
    /**
    * Side Box Template
    *
    * @package templateSystem
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: tpl_featured.php 6128 2007-04-08 04:53:32Z birdbrain $
    */
    $content = "";
    $featured_box_counter = 0;
    while (!$random_featured_product->EOF) {
    $featured_box_counter++;
    $featured_box_price = zen_get_products_display_price($random_featured_product->fields['products_id']);
    $content .= '<div class="sideBoxContent centeredContent">';
    $content .= '<a href="' . zen_href_link(zen_get_info_page($random_featured_product->fields["products_id"]), 'cPath=' . zen_get_generated_category_path_rev($random_featured_product->fields["master_categories_id"]) . '&products_id=' . $random_featured_product->fields["products_id"]) . '">' . zen_image(DIR_WS_IMAGES . $random_featured_product->fields['products_image'], $random_featured_product->fields['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
    $content .= '<br />' . $random_featured_product->fields['products_name'] . '</a>';
    $content .= '<div>' . $featured_box_price . '</div>';
    $content .= '</div>';
    $random_featured_product->MoveNextRandom();
    }
    ?>

    also, how do i change the "manufacturer" section to read "designer"? as seen here -- http://www.templatemonster.com/sampleView.php?type=16

    step by step instructions would be much appreciated! it's my first time doing this so i'm quite clueless..

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Display Featured Sidebox and Modifying Manufacturer Label Sidebox

    Unfortunately, template monster templates are hard coded in places
    which disable certain zencart options...search forums here for
    Template Monster.

 

 

Similar Threads

  1. Replies: 3
    Last Post: 12 Oct 2010, 01:32 AM
  2. Modifying Sidebox with background and images
    By alana1223 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 28 Jan 2009, 08:28 PM
  3. Featured Product Sidebox - manufacturer
    By pensive612 in forum Basic Configuration
    Replies: 9
    Last Post: 12 Oct 2007, 08:21 PM

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