Subversion Repositories SmartDukaan

Rev

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

Rev 10669 Rev 10670
Line 117... Line 117...
117
		if(cp!=null){
117
		if(cp!=null){
118
			try {
118
			try {
119
			pp = new ProductPojo();
119
			pp = new ProductPojo();
120
			pp.setOfferText(cp.getOfferText());
120
			pp.setOfferText(cp.getOfferText());
121
			pp.setDescription(StringUtils.join(cp.getKeySpecs().subList(0, 3),", "));
121
			pp.setDescription(StringUtils.join(cp.getKeySpecs().subList(0, 3),", "));
-
 
122
			log.info("cp.getKeySpecs():  "  +cp.getKeySpecs());
122
			pp.setImageUrl(cp.getIconImageUrl());
123
			pp.setImageUrl(cp.getIconImageUrl());
123
			pp.setUrl(cp.getUrl());
124
			pp.setUrl(cp.getUrl());
-
 
125
			log.info("cp.getUrl():" + cp.getUrl());
124
			
126
			
125
			pp.setMrp(cp.getItems().get(0).getMrp());
127
			pp.setMrp(cp.getItems().get(0).getMrp());
126
			pp.setPrice(cp.getItems().get(0).getSellingPrice());
128
			pp.setPrice(cp.getItems().get(0).getSellingPrice());
127
			pp.setTitle(cp.getTitle());
129
			pp.setTitle(cp.getTitle());
128
			} catch (Exception e) {
130
			} catch (Exception e) {