Subversion Repositories SmartDukaan

Rev

Rev 11608 | Rev 11864 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11608 Rev 11762
Line 125... Line 125...
125
			pp.setDescription(StringUtils.join(cp.getKeySpecs().subList(0, Math.min(cp.getKeySpecs().size(), 3)),", "));
125
			pp.setDescription(StringUtils.join(cp.getKeySpecs().subList(0, Math.min(cp.getKeySpecs().size(), 3)),", "));
126
			pp.setImageUrl(cp.getIconImageUrl());
126
			pp.setImageUrl(cp.getIconImageUrl());
127
			pp.setUrl(cp.getUrl());
127
			pp.setUrl(cp.getUrl());
128
			pp.setMrp(cp.getItems().get(0).getMrp());
128
			pp.setMrp(cp.getItems().get(0).getMrp());
129
			pp.setPrice(cp.getItems().get(0).getSellingPrice());
129
			pp.setPrice(cp.getItems().get(0).getSellingPrice());
-
 
130
			pp.setItemPojos(cp.getItems());
130
			pp.setTitle(cp.getTitle());
131
			pp.setTitle(cp.getTitle());
131
			} catch (Exception e) {
132
			} catch (Exception e) {
132
				e.printStackTrace();
133
				e.printStackTrace();
133
				log.info(e.toString());
134
				log.info(e.toString());
134
				log.error("Error in entity : " + entityId);
135
				log.error("Error in entity : " + entityId);