My solution:
Backup, Backup, Backup ...
Copy file includes/modules/product_listing.php to includes/modules/YOUR_TEMPLATE/product_listing.php
Caution: many templates may already use a template specific file product_listing.php !! So, create another backup of this file..
Open the copied file and create variable for categories to disable link to product details
$disable_productlinks_cPath = "61,64,65,66,68,68,78,93";
change this
case 'PRODUCT_LIST_NAME':
$lc_align = '';
if (isset($_GET['manufacturers_id'])) {
$lc_text = '<h3 class="itemTitle"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'products_id=' . $listing->fields['products_id']) . '">' . $listing->fields['products_name'] . '</a></h3> (... rest of code omitted....);
to this
case 'PRODUCT_LIST_NAME':
$lc_align = '';
if (in_array($cPath,explode(',', $disable_productlinks_cPath)) ) {
$lc_text = '<h3 class="itemTitle">' . $listing->fields['products_name'] . '</h3> (.... rest of code omitted ....);
Then to control the images and their links (if images are not already turned off globally in admin)
change this
if ($listing->fields['products_image'] == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == 0) {
$lc_text = '';
} else {
if (isset($_GET['manufacturers_id'])) {
$lc_text = '<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>';
to this
if ($listing->fields['products_image'] == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == 0) {
$lc_text = '';
} else {
if (in_array($cPath,explode(',', $disable_productlinks_cPath)) ) {
$lc_text = '';
Need to work on disabling the column header 'Product Image' for categories affected.
It goes without saying that individual product detail pages still need to be created albeit with a much shorter description
Frank