ozcsys Posted December 4, 2003 Share Posted December 4, 2003 I would like to get rid of the link from the picture on the product page but I can not find it. I fould the Click to enlarge and removed it but I can not find where the link to the picture is. I want to keep the picture but without the link. Second question. Is there a contribution that will let let me show a msrp price with maybe a savings in either a $ amount or as a % on the catagory page? I could include it in the product description but I thought it would be nice if I could get it to show up on the cat page between the product name and price. I look through the contributions but I did not see what I was looking for. Thanks Richard The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right?? Link to comment Share on other sites More sharing options...
ozcsys Posted December 4, 2003 Author Share Posted December 4, 2003 Well I found the code that controls the picture but I can not seem to just get rid of the link and leave the picture alone. I can remove the picture altogether or I keep getting errors.If someone could let me know exactly what part of this I need to comment out or remove to do that I would be quite happy. Thanks Richard <?php if (tep_not_null($product_info['products_image'])) { ?> <table border="0" cellspacing="0" cellpadding="2" align="right"> <tr> <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['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right?? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.