Hi guys,
Im having a little trouble acheivuing the desired results with my center box's
basically i cant seem to get the product description to dsplay, and, despite manageing to get "more info" links... theny dont sem to woprk correctly.
Can anyone please take a look at my code and maybe help me to debug?
that should be the only code that needs looking at ..... if you go right to the end you will see the $products_description and the $info_link variables are indeen being called.PHP Code:$list_box_contents[$row][$col] = array('params' =>'class="centerBoxContentsFeatured centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
'text' => '<a href="' . zen_href_link(zen_get_info_page($featured_products->fields['products_id']), 'products_id=' . $featured_products->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $featured_products->fields['products_image'], $featured_products->fields['products_name'], IMAGE_FEATURED_PRODUCTS_LISTING_WIDTH, IMAGE_FEATURED_PRODUCTS_LISTING_HEIGHT) . '</a><br /><a href="' . zen_href_link(zen_get_info_page($featured_products->fields['products_id']), 'products_id=' . $featured_products->fields['products_id']) . '">' . $featured_products->fields['products_name'] . '</a><br />' . '<div class=price_test>' . $products_price . '</div>' . '<br />' . $products_description . $info_link);
here is the code that defines these two variables :
now... the more info link displays correctly.... but... doesnt link to the actual product information.PHP Code:$products_description = zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($featured_products->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION);
$info_link = '<a href="' . zen_href_link(zen_get_info_page($featured_products->fields['products_id']), 'products_id=' . $featured_products->fields['products_id']) . '"> more info...</a>';
And the product description doesnt display at all!
just seems really wired ... and would love any help any of you guys can give.... :)
Thanks
Acc



