Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

dont display product image


kalukee

Recommended Posts

configuration/product listing/display product image

 

is the setting i tried

 

I set image to an empty gif and set width and height to 0, it works

 

the width and height settings set to 0 for the category images doesnt seem to work so i replaced them with an empty gif as toolcrazy suggested

 

but......

 

how would i go about removeing the "Click to enlarge" option on product info page

 

i would like to remove the manufactuer drop down selector from the category pages as well

 

thanks

Link to comment
Share on other sites

how would i go about removeing the "Click to enlarge" option on product info page

 

Just comment out this section of code in /catalog/product_info.php line 111 in my snap. From <td> to </td>

 

<!--<td align="center" class="smallText">

<script language="javascript"><!--

document.write('<?php echo '<a href="java script:popupWindow('' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info_values['products_id']) . '')">' . tep_image(DIR_WS_IMAGES . $image, addslashes($product_info_values['products_name']), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');

//--></script>

<noscript>

<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $bimage) . '">' . tep_image(DIR_WS_IMAGES . $image, $product_info_values['products_name'], MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>

</noscript>

</td>//-->

 

i would like to remove the manufactuer drop down selector from the category pages as well

 

If you are talking about the manufactur dropdown in column left. Go to /catalog/includes/column_left.php and comment this section out. But it will dissaper on all pages. Not anyway to do just one page, that I know of. Without rewriting a bunch of pages.

 

/*if ( (USE_CACHE == 'true') && !SID) {

echo tep_cache_manufacturers_box();

} else {

include(DIR_WS_BOXES . 'manufacturers.php');

}*/

 

<!-- //--> is for html comments

/* */ is for PHP or // for just one line of PHP

Steve

-------------------------

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...