KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: Asset on September 13, 2011, 01:24:22 pm

Title: Product description in search results page is null
Post by: Asset on September 13, 2011, 01:24:22 pm
Dear All,

When I retrieve product description in search result page ("ProductsBody.jsp"), I always found it null although the products have description and viewed normally in product details page.

Any help,
Thanks.
Title: Re: Product description in search results page is null
Post by: trevor on September 14, 2011, 11:26:15 am
This is done for performance reasons. The DataDescriptor object has an attribute to allow you to decide whether to retrieve the description or not. If you take a look at RecentlyViewedProductsWithDetailsBody.jsp you'll see an example of getting back the description for an array of products. You can get and set the DataDescriptor used in the ProductManager directly from the action classes.
Title: Re: Product description in search results page is null
Post by: Asset on September 14, 2011, 11:59:14 am
Thanks alot for your helpful reply