/** * Do action update * * @return void */ protected function doActionUpdate() { $this->getModelForm()->performAction('modify'); $itemsList = new \XLite\View\ItemsList\Model\Shipping\Markups(); $itemsList->processQuick(); $this->setReturnURL($this->buildURL('shipping_rates', '', array('widget' => 'XLite\\View\\Shipping\\EditMethod', 'methodId' => $this->getModelForm()->getModelObject()->getMethodId(), 'shippingZone' => \XLite\Core\Request::getInstance()->shippingZone))); $this->setInternalRedirect(); \XLite\Core\Event::updateShippingMethods(); }