oscommercenewbie Posted November 30, 2005 Share Posted November 30, 2005 Can someone tell me how to (or share code) how to move the product description below the popup image? I see other sites that do this, just cant figure out how. Is this a new table? If someone has already done this or this is a contribution please let me know. Your efforts are greatly appreciated. A site that puts the product description below the image Link to comment Share on other sites More sharing options...
PelleonUK Posted November 30, 2005 Share Posted November 30, 2005 Can someone tell me how to (or share code) how to move the product description below the popup image? I see other sites that do this, just cant figure out how. Is this a new table? If someone has already done this or this is a contribution please let me know. Your efforts are greatly appreciated. A site that puts the product description below the image edit catalog/product_info.php starting at line 89 change: <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading" valign="top"><?php echo $products_name; ?></td> <td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"> too: <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading" valign="top"><?php echo $products_name; ?></td> <td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td> </tr> <tr> <?php if (tep_not_null($product_info['products_image'])) { ?> <tr> <td align="left" class="smallText"> <script language="javascript"><!-- document.write('<?php echo '<a href="javascript: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>'; ?> </noscript> </td> <?php } ?> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main">"> Hope that helps Link to comment Share on other sites More sharing options...
oscommercenewbie Posted November 30, 2005 Author Share Posted November 30, 2005 Worked great! Thank you very much for your assistance. Note to others using the code: Last line take out the "> <td class="main">"> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.