Subversion Repositories SmartDukaan

Rev

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

Rev 21383 Rev 21386
Line 130... Line 130...
130
						cartObj.put("cartMessagesMerged", cartObj.getInt("cartMessagesMerged") + 1);
130
						cartObj.put("cartMessagesMerged", cartObj.getInt("cartMessagesMerged") + 1);
131
					}
131
					}
132
				}
132
				}
133
			}
133
			}
134
			ProductPojo pp = ContentPojoPopulator.getShortContent(itemObj.getLong("catalogItemId"));
134
			ProductPojo pp = ContentPojoPopulator.getShortContent(itemObj.getLong("catalogItemId"));
-
 
135
			logger.info("ProductPojo "+pp);
135
			String productProperties = ContentServingService.getSnippet(Utils.PRODUCT_PROPERTIES_SNIPPET, pp.getId() +"", -1);
136
			String productProperties = ContentServingService.getSnippet(Utils.PRODUCT_PROPERTIES_SNIPPET, pp.getId() +"", -1);
-
 
137
			logger.info("productProperties "+productProperties);
136
			JSONObject productPropertiesInJson = new JSONObject(productProperties);
138
			JSONObject productPropertiesInJson = new JSONObject(productProperties);
137
			pp.setCategoryName(productPropertiesInJson.getString("categoryName"));
139
			pp.setCategoryName(productPropertiesInJson.getString("categoryName"));
138
 
140
 
139
			if(itemObj.has("estimate")){
141
			if(itemObj.has("estimate")){
140
				if(allSame){
142
				if(allSame){