Subversion Repositories SmartDukaan

Rev

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

Rev 29333 Rev 29415
Line 211... Line 211...
211
		List<CartItem> cartItems = cartRequest.getCartItems();
211
		List<CartItem> cartItems = cartRequest.getCartItems();
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
 
-
 
217
			log.info("pp { }", pp);
216
			if (pp != null) {
218
			if (pp != null) {
217
				cartItem.setImageUrl(pp.getImageUrl());
219
				cartItem.setImageUrl(pp.getImageUrl());
218
				cartItem.setTitle(pp.getTitle());
220
				cartItem.setTitle(pp.getTitle());
219
			}
221
			}
220
		}
222
		}