dandelion got a reaction from
arash.najafi in Product Listing Enhancements, Thumbnails & Manufacturer Headings
Hi.... I'm trying to do two things and need some php help Site is http://www.kingwestflowers.com/index.php/cPath/19
1) change the image to use lightbox - here is the code from product info
<?php
if (tep_not_null($product_info['products_image'])) {
?>
<table border="0" cellspacing="0" cellpadding="2" align="right">
<tr>
<td id="gallery" align="center" class="smallText">
<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank" title="'.$product_info['products_name'].'">' . 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>'; ?>
</td>
</tr>
</table>
<?php
}?>
2) Move the price to above the add to cart button
I'm learning but this is beyond me.
Thanks!