Subversion Repositories SmartDukaan

Rev

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

Rev 10672 Rev 10673
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());
-
 
123
			pp.setImageUrl(cp.getIconImageUrl());
122
			pp.setImageUrl(cp.getIconImageUrl());
124
			pp.setUrl(cp.getUrl());
123
			pp.setUrl(cp.getUrl());
125
			log.info("cp.getUrl():" + cp.getUrl());
-
 
126
			log.info("cp.getItems().get(0).getMrp():" + cp.getItems().get(0));
-
 
127
			log.info("cp.getItems().get(0).getSellingPrice():" + cp.getItems().get(0).getSellingPrice());
-
 
128
			pp.setMrp(cp.getItems().get(0).getMrp());
124
			pp.setMrp(cp.getItems().get(0).getMrp());
129
			pp.setPrice(cp.getItems().get(0).getSellingPrice());
125
			pp.setPrice(cp.getItems().get(0).getSellingPrice());
130
			pp.setTitle(cp.getTitle());
126
			pp.setTitle(cp.getTitle());
131
			} catch (Exception e) {
127
			} catch (Exception e) {
132
				e.printStackTrace();
128
				e.printStackTrace();