Very nice module. I found one small bug in it. When I implemented this module, the frame and background around my product images disappeared in both column and row layouts. I fixed this by adding '<div class=productImage-background>' at the beginning of lines 204 and 206 in the product_listing.php module as follows:
Code:
$lc_text = '<div class=productImage-background><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'products_id=' . $listing->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '</a></div>';
} else {
$lc_text = '<div class=productImage-background><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), ($_GET['cPath'] > 0 ? 'cPath=' . $_GET['cPath'] . '&' : '') . 'products_id=' . $listing->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '</a></div>';
The spacing is wrong on the images, they are 'off-center', but this is fixed by adding "margin:auto;" to the .productImage-background class in the CSS style sheet. Works correctly in both column and row order.
This module works great for product listing within categories. Is there any way to get it to work for Product Listing - ALL?
Maury