Subversion Repositories SmartDukaan

Rev

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

Rev 29415 Rev 29416
Line 212... Line 212...
212
		cartService.addItemsToCart(cartId, cartItems);
212
		cartService.addItemsToCart(cartId, cartItems);
213
		CartResponse cartValidationResponse = cartService.getCartValidation(cartId);
213
		CartResponse cartValidationResponse = cartService.getCartValidation(cartId);
214
		for (CartItemResponseModel cartItem : cartValidationResponse.getCartItems()) {
214
		for (CartItemResponseModel cartItem : cartValidationResponse.getCartItems()) {
215
			ProductPojo pp = contentPojoPopulator.getShortContent(cartItem.getCatalogItemId());
215
			ProductPojo pp = contentPojoPopulator.getShortContent(cartItem.getCatalogItemId());
216
 
216
 
217
			log.info("pp { }", pp);
217
			log.info("pp {}", pp);
218
			if (pp != null) {
218
			if (pp != null) {
219
				cartItem.setImageUrl(pp.getImageUrl());
219
				cartItem.setImageUrl(pp.getImageUrl());
220
				cartItem.setTitle(pp.getTitle());
220
				cartItem.setTitle(pp.getTitle());
221
			}
221
			}
222
		}
222
		}