Removing the price and image is just a matter of commenting out a few lines:PHP Code:/*
...
* @version $Id: tpl_featured.php 18698 2011-05-04 14:50:06Z wilt $ change to ordered list, remove price, image - gjh42 2013-04-11
*/
$content = "";
$content .= '<div class="sideBoxContent centeredContent">';
$content .= '<ol>';
$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 .= "\n" . ' <li class="sideBoxContentItem">';
$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 .= '</li>';
$random_featured_product->MoveNextRandom();
}
$content .= '</ol></div>' . "\n";


Reply With Quote
