KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: paulh on April 22, 2012, 09:01:43 am

Title: product.getTags() always returns null
Post by: paulh on April 22, 2012, 09:01:43 am
ProductIf[] products = kkEng.getProductMgr().getCurrentProducts();
for (int i=0; i < products.length; i++) {
ProductIf product = products;
System.out.println(product.getTags());
}


always prints out null when in DVD-Action category
Title: Re: product.getTags() always returns null
Post by: paulh on April 23, 2012, 03:38:58 am
solution is

product = kkEng.getEng().getProduct(kkEng.getSessionId(), product.getId(), kkEng.getLangId());
                  

orginal product object is not fully populated for performance reasons