Subversion Repositories SmartDukaan

Rev

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

Rev 20984 Rev 20986
Line 511... Line 511...
511
									cartObj.put("cartMessagesMerged", cartObj.getInt("cartMessagesMerged") + 1);
511
									cartObj.put("cartMessagesMerged", cartObj.getInt("cartMessagesMerged") + 1);
512
								}
512
								}
513
							 }
513
							 }
514
						}
514
						}
515
						ProductPojo pp = PojoPopulator.getShortContent(itemObj.getLong("catalogItemId"));
515
						ProductPojo pp = PojoPopulator.getShortContent(itemObj.getLong("catalogItemId"));
-
 
516
						
516
						String productProperties = ContentServingService.getSnippet(SnippetType.PRODUCT_PROPERTIES_SNIPPET, id +"", -1);
517
						String productProperties = ContentServingService.getSnippet(SnippetType.PRODUCT_PROPERTIES_SNIPPET, pp.getId() +"", -1);
-
 
518
						
517
						JSONObject productPropertiesInJson = new JSONObject(productProperties);
519
						JSONObject productPropertiesInJson = new JSONObject(productProperties);
518
						productPropertiesInJson.getString("categoryName");
520
						productPropertiesInJson.getString("categoryName");
519
						if(itemObj.has("estimate")){
521
						if(itemObj.has("estimate")){
520
							if(allSame){
522
							if(allSame){
521
								allSame = maxEstimate==-2 || maxEstimate==itemObj.getInt("estimate");
523
								allSame = maxEstimate==-2 || maxEstimate==itemObj.getInt("estimate");