Example #1
0
 public function updateSession()
 {
     $this->setGlobalPrice();
     $this->setGlobalPriceWithoutVat();
     $this->setGlobalWeight();
     $this->setCartForDelivery();
     Session::setActiveCart($this->Cart);
     Session::setActiveGlobalPrice($this->globalPrice);
     Session::setActiveGlobalWeight($this->globalWeight);
     Session::setActiveGlobalPriceWithoutVat($this->globalPriceWithoutVat);
     Session::setActiveDispatchmethodChecked(0);
     Session::setActiveglobalPriceWithDispatchmethod($this->globalPrice);
     Session::setActiveglobalPriceWithDispatchmethodNetto($this->globalPriceWithoutVat);
     Session::setActivePaymentMethodChecked(0);
     Session::unsetActiveClientOrder();
 }
Example #2
0
 public function setAjaxShippingCountryId($countryid)
 {
     $objResponse = new xajaxResponse();
     Session::setActiveDispatchmethodChecked(NULL);
     Session::setActiveShippingCountryId($countryid);
     $objResponse->script('window.location.reload(false);');
     return $objResponse;
 }