I'm having the same problem that an earlier responder mentioned:
This seems to works for featured products but NOT for new products, i.e., new_products.php.
Here is the relevant code:
I've added pd.products_description to the query:
$new_products_query = "select distinct p.products_id, p.products_image, pd.products_name, pd.products_description,
p.products_date_added, p.products_price, p.products_type, p.master_categories_id
from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd
where p.products_id = pd.products_id
and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'
and p.products_id in (" . $list_of_products . ")";
}
}
I've assigned a variable:
$products_description = $new_products->fields['products_description'];
I've added the variable to the HTML:
$list_box_contents[$row][$col] = array('params' => 'class="centerBoxContentsNew centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
'text' => (($new_products->fields['products_image'] == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == 0) ? '' : '<a href="' . zen_href_link(zen_get_info_page($new_products->fields['products_id']), 'cPath=' . $productsInCategory[$new_products->fields['products_id']] . '&products_id=' . $new_products->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $new_products->fields['products_image'], $new_products->fields['products_name'], IMAGE_PRODUCT_NEW_WIDTH, IMAGE_PRODUCT_NEW_HEIGHT) . '</a><br />') . '<a href="' . zen_href_link(zen_get_info_page($new_products->fields['products_id']), 'cPath=' . $productsInCategory[$new_products->fields['products_id']] . '&products_id=' . $new_products->fields['products_id']) . '">' . $new_products->fields['products_name'] . '</a><br /> . **$products_description** . $products_price . '**<br>skdk'**);
I've added a piece of garbage text skdk to see if that prints, and it does. But you don't see the product description. I've also tested $products_description with an if blank statement, and it returns that the variable is blank.
I suspect there is some code here that is automatically chopping off this addition. Any help appreciated.