Example #1
0
 public function selectDeliveryOption($dispatchmethodid, $option)
 {
     $objResponseDispatchmethod = new xajaxResponse();
     $active = array('id' => $dispatchmethodid, 'option' => $option);
     Session::setActiveDispatchmethodOption($active);
     $objResponseDispatchmethod->clear("cart-contents", "innerHTML");
     $objResponseDispatchmethod->append("cart-contents", "innerHTML", App::getModel('cart')->getCartTableTemplate());
     $objResponseDispatchmethod->script("qtySpinner();");
     return $objResponseDispatchmethod;
 }