コード例 #1
0
ファイル: Cart.php プロジェクト: sho5kubota/guidingyou2
 public function getDeliveryOption($default_country = null, $dontAutoSelectOptions = false, $use_cache = true)
 {
     @session_start();
     if (Module::isInstalled('agilepaypal') && isset($_SESSION['agile_paypal_validating_order']) && $_SESSION['agile_paypal_validating_order'] == 1 && isset($this->delivery_option) && $this->delivery_option != '') {
         $_SESSION['agile_paypal_validating_order'] = 0;
         return Tools::unSerialize($this->delivery_option);
     }
     return parent::getDeliveryOption($default_country, $dontAutoSelectOptions, $use_cache);
 }