use of com.salesmanager.core.business.exception.ConversionException in project shopizer by shopizer-ecommerce.
the class CustomerRegistrationController method populateShoppingCartData.
private ShoppingCartData populateShoppingCartData(final ShoppingCart cartModel, final MerchantStore store, final Language language) {
ShoppingCartDataPopulator shoppingCartDataPopulator = new ShoppingCartDataPopulator();
shoppingCartDataPopulator.setShoppingCartCalculationService(shoppingCartCalculationService);
shoppingCartDataPopulator.setPricingService(pricingService);
try {
return shoppingCartDataPopulator.populate(cartModel, store, language);
} catch (ConversionException ce) {
LOGGER.error("Error in converting shopping cart to shopping cart data", ce);
}
return null;
}
use of com.salesmanager.core.business.exception.ConversionException in project shopizer by shopizer-ecommerce.
the class CustomerLoginController method populateShoppingCartData.
private ShoppingCartData populateShoppingCartData(final ShoppingCart cartModel, final MerchantStore store, final Language language) {
ShoppingCartDataPopulator shoppingCartDataPopulator = new ShoppingCartDataPopulator();
shoppingCartDataPopulator.setShoppingCartCalculationService(shoppingCartCalculationService);
shoppingCartDataPopulator.setPricingService(pricingService);
try {
return shoppingCartDataPopulator.populate(cartModel, store, language);
} catch (ConversionException ce) {
LOG.error("Error in converting shopping cart to shopping cart data", ce);
}
return null;
}
Aggregations