kalukee Posted February 12, 2003 Share Posted February 12, 2003 Hi Is there a way not to display a product image?? My products dont really have an image to display.(map of some city somewhere is about all i want) Can someone point me in the right direction thanks Link to comment Share on other sites More sharing options...
kalukee Posted February 12, 2003 Author Share Posted February 12, 2003 I tried the setting in admin it didnt do anything is that for something else? thanks Link to comment Share on other sites More sharing options...
toolcrazy Posted February 12, 2003 Share Posted February 12, 2003 Is the setting you are talking about, "Image Required " to false? This is for product images. Any other images you will have to upload a 0.0k tranparent image to get around this. Steve ------------------------- Link to comment Share on other sites More sharing options...
kalukee Posted February 12, 2003 Author Share Posted February 12, 2003 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 More sharing options...
kalukee Posted February 12, 2003 Author Share Posted February 12, 2003 ummmm nevermind i figure it out thanks Link to comment Share on other sites More sharing options...
toolcrazy Posted February 12, 2003 Share Posted February 12, 2003 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 More sharing options...
toolcrazy Posted February 12, 2003 Share Posted February 12, 2003 OKay. Now you tell me. :D :D :lol: :lol: Steve ------------------------- Link to comment Share on other sites More sharing options...
vekke Posted February 12, 2003 Share Posted February 12, 2003 Heey! Thanks, i was just thinking about to solve that thing! :D :D Link to comment Share on other sites More sharing options...
kalukee Posted February 12, 2003 Author Share Posted February 12, 2003 actually for the product images you dont have to do anything other than not having a picture i originaly set product image to an empty gif but setting it to nothing at all takes care of it nicely Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.