I believe the file with the relevant code will be /includes/templates/your_template/templates/tpl_index_product_list.php.
I believe the file with the relevant code will be /includes/templates/your_template/templates/tpl_index_product_list.php.
k i will look in there next.
this is what i am looking to do
http://shop.kelleymotorsports.com/te...dex&cPath=2_35
so when you actually go into that section of parts they can refer to the break down at the top.
follow me?
theres more to the file but i'm assuming it has something to do with this section?
<?php
/**
* Page Template
*
* Loaded by main_page=index<br />
* Displays product-listing when a particular category/subcategory is selected for browsing
*
* @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_index_product_list.php 6009 2007-03-13 23:56:45Z ajeh $
*/
?>
<div class="centerColumn" id="indexProductList">
<h1 id="productListHeading"><?php echo $breadcrumb->last(); ?></h1>
<?php if ( (PRODUCT_LIST_CATEGORIES_IMAGE_STATUS == 'true' && $categories_image = zen_get_categories_image($current_category_id)) || $current_categories_description != '') { ?>
<div class="tie3 text2 tie-margin1">
<div class="tie3-indent">
<strong>Property categories:</strong>
<div class="wrapper" id="indexProductListCatDescription">
<?php
if (PRODUCT_LIST_CATEGORIES_IMAGE_STATUS == 'true') {
// categories_image
if ($categories_image = zen_get_categories_image($current_category_id)) {
?>
<?php /*
<div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, '', CATEGORY_ICON_IMAGE_WIDTH, CATEGORY_ICON_IMAGE_HEIGHT); ?></div>
*/?>
<?php
}
} // categories_image
?>
<?php
// categories_description
if ($current_categories_description != '') {
?>
<div class="content_desc"> <?php echo $current_categories_description; ?> </div>
<?php } // categories_description ?>
</div>
</div>
</div>
The /* and */ are commenting out the category image, preventing it from displaying no matter what you set in admin. This is shoddy template design, deciding for the user what they will be allowed to do.PHP Code:<?php /*
<div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, '', CATEGORY_ICON_IMAGE_WIDTH, CATEGORY_ICON_IMAGE_HEIGHT); ?></div>
*/?>
Remove the <?php /* and */?> and you will see the image.
amazing! thank you soooo much!!!
now one last question on this... is there any way to remove the sub category image when you are viewing the product details? it stays the same 500x500 like the product listing page. if not thats ok i can deal with it but if there is a way that would be sweet!. or should i keep it for customers to refer to again? thoughts are also appreciated. now if someone could possibly help with my sale items with attributes not showing sale price when added to the cart i would be set!!
Configuration > Product Info > Previous Next - Navigation Includes Category Name and Image Status.
and again, thank you! if you have any input on the tires not showing the sale price in the cart let me know.
![]()