ContentBean contentBean = getContentBean(request);
Site site = contentBean.getContentSessionBean().getSiteDomain().getSite();
ShoppingCartActionForm form = (ShoppingCartActionForm) actionForm;
ShoppingCart shoppingCart = ShoppingCart.getSessionInstance(request, true);
shoppingCart.setEstimateAddress(request, form.getEstimateCountryCode(), form.getEstimateStateCode(), form.getEstimateZipCode(), form.isEstimatePickUp());
shoppingCart.recalculate(contentBean);
ActionMessages messages = new ActionMessages();
this.initSearchInfo(form, site.getSiteId(), messages);
this.initCartInfo(form, site, shoppingCart, request, messages);
if (!shoppingCart.isShippingValid() && !form.isEstimatePickUp()) {