Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to disable the categories picture


koosing

Recommended Posts

Posted

when click one kind of the category, there will be some cagegories pictures above the new products,

 

how to disable the cagegories pictures, or to make it nothing above the new products in the center column?

Posted

Hey koosing... should be able to leave the image field blank when creating the category, this should make it so now images show in that new products center column.

Posted

when creating a new category, I uploade no Category Image. OK, it is blank. But on the right side the "Let's See What We Have Here", there is a failed loading picture, "X let's see".

Posted

when click one kind of the category, there will be some cagegories pictures above the new products,

 

how to disable the cagegories pictures, or to make it nothing above the new products in the center column?

 

You must go into index.php and comment out the code that calls for the image.

I believe this code is what you are looking for:

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

change to

<td class="pageHeading" align="right"><?php //echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

There is another line of code similiar to this farther down that does sub category images.

 

 

Tim

Posted

Or just add to stylesheet;

 

.pageHeading img {
  display: none;
}

 

This will not show any image that is within the pageHeading class.

Posted

You must go into index.php and comment out the code that calls for the image.

I believe this code is what you are looking for:

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

change to

<td class="pageHeading" align="right"><?php //echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

There is another line of code similiar to this farther down that does sub category images.

 

 

Tim

 

<td align="right"><?php // echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

I comment out this line, and it disappear. Thanks so much

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...