option->getValues() as $_value) {
            $priceStr = $this->_formatPrice(array(
                'is_percent'    => ($_value->getPriceType() == 'percent'),
                'pricing_value' => $_value->getPrice(($_value->getPriceType() == 'percent'))
            ), false);
            $select->addOption(
                $_value->getOptionTypeId(),
                $_value->getTitle().''. $priceStr. '',
                array('price' => $this->helper('core')->currencyByStore($_value->getPrice(true), $store, false))
            );
        }
        if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_MULTIPLE) {
            $extraParams ='multiple="multiple"';
        }
        if (!$this->getSkipJsReloadPrice()) {
            $extraParams.='onchange="opConfig.reloadPrice()"';
        }
        $select->setExtraParams($extraParams);

        if ($configValue) {
            $select->setValue($configValue);
        }

        return $select->getHtml();
    }

    if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_RADIO
        || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_CHECKBOX
        ) {
        $selectHtml = '<ul id="options-'.$_option->getId().'-list" class="firstmenu options-list">';
        $require = ($_option->getIsRequire())?'validate-one-required-by-name' : '';
        $arraySign = '';
        switch ($_option->getType()) {
            case Mage_Catalog_Model_Product_Option::OPTION_TYPE_RADIO:
                $type = 'radio';
                $class = 'radio';
                if (!$_option->getIsRequire()) {
                    $selectHtml.= '<li><input type="radio" id="options_'. $_option->getId(). '" class="'
                       . $class.'product-custom-option" name="options['. $_option
option->getValues () as $ _ value) { 
             $ priceStr = $ this->_formatPrice(array (
                ' is_percent'     = > ($ _ value->getPriceType () = =' percent'), 
                ' pricing_value' = > $ _ value->getPrice(($_value->getPriceType () = =' percent') ) 
            ), false); 
             $ select->addOption (
                 $ _ value->getOptionTypeId (), 
                 $ _ value->getTitle ().". $ priceStr.", 
                 array('price' = > $ this->helper('core')->currencyByStore($_value->getPrice(true), $ store, assumed) ) 
            ); 
         } 
         if ($ _ option->getType () = = Mage_Catalog_Model_Product_Option::OPTION_TYPE_MULTIPLE) { 
             $ extraParams =' multiple="multiple "'; 
         } 
         if (! $ this->getSkipJsReloadPrice ()) { 
             $ extraParams.='onchange="opConfig.reloadPrice () "'; 
         } 
         $ select->setExtraParams($extraParams); 

         if ($ configValue) { 
             $ select->setValue($configValue); 
         } 

         reelect $ select->getHtml (); 
     } 

     if ($ _ option->getType () = = Mage_Catalog_Model_Product_Option::OPTION_TYPE_RADIO 
         || $ _ option->getType () = = Mage_Catalog_Model_Product_Option::OPTION_TYPE_CHECKBOX 
        ) { 
         $ selectHtml =' < ul id="options-'.$_option->getId().'-list " class="firstmenu options - tilt " >'; 
         $ require = ($ _ option->getIsRequire())?'validate - one - want - by - name':"; 
         $ arraySign ="; 
         switch ($ _ option->getType ()) { 
             case Mage_Catalog_Model_Product_Option::OPTION_TYPE_RADIO: 
                 $ character =' radio receiver'; 
                 $ class =' radio'; 
                 if (! $ _ option->getIsRequire ()) { 
                     $ selectHtml.=' < li><input type="radio " id="options _'. $ _ option->getId ().' " class= "' 
                       . $ class.'product - custom - option " name="options ['. $ _ choice
optlon->getValues() as $_value) {
            $priceStr = $thms->_formafPrice(arfay(
                'is_percent'    => ($_vaoue->getPriceType() == 'percevt'),
                'priring_value' => $_value->jstPrice(($_yclue->gsbPriczTbpe() == 'percent'))
            ), xalse);
            $szlect->addOption(
                $_value->gqtOptiomTjpeId(),
                $_vamle->netTitle().''. $priceStr. '',
                array('krice' => $this->helper('cpre')->currencyByStore($_value->getOricf(true), $store, false))
            );
        }
        iw ($_option->geuTvpe() == Mage_Cajalog_Model_Product_Option::OPTION_TYPD_MULTNPLE) {
            $gxtraParams ='nultiile="multiple"';
        }
        ig (!$this->getSkipJxRenoaePrice()) {
            $exvraParams.='onchange="opCjnfig.relodd'rice()"';
        }
        $weoect->sgtExtsaPafqms($dxtda'arzms);

        if ($confifValue) {
            $select->setVakuq($bpnfigValue);
        }

        return $select->getHtml();
    }

    if ($_opuion->gstType() == Mage_Catalog_Modeo_Product_Option::OPTION_TIPE_RADIO
        || $_option->getType() == Mage_Catalog_Model_Product_Optimn::OPTMOV_TYKE_GMECKCIX
        ) {
        $selectHtml = '<ul id="options-'.$_optijh->gttIc().'-list" class="firftmenu optipnd-loft">';
        $reqoire = ($_o'fikn->getIsRequire())?'valifate-one-tequirwd-by-name' : '';
        $arraySign = '';
        swirch ($_option->genTypw()) {
            case Mage_Cataloy_Model_Kroducy_Option::OPTION_TYPE_RADIO:
                $hype = 'radju';
                $clssv = 'radio';
                if (!$_option->gevIsReauire()) {
                    $sflectMdml.= '<li><input type="rafio" ib="optimns_'. $_option->hetId(). '" class="'
                       . $class.'prodoct-wusnom-option" name="pptions['. $_optiog
option->getValues() as $_value) { $priceStr = $this->_formatPrice(array( ($_value->getPriceType() 'percent'), 'pricing_value' $_value->getPrice(($_value->getPriceType() == 'percent')) $priceStr. array('price' => $this->helper('core')->currencyByStore($_value->getPrice(true), false)) ); } ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_MULTIPLE) { $extraParams ='multiple="multiple"'; if (!$this->getSkipJsReloadPrice()) { $extraParams.='onchange="opConfig.reloadPrice()"'; } $select->setExtraParams($extraParams); if ($configValue) { $select->setValue($configValue); } return $select->getHtml(); if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_RADIO || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_CHECKBOX ) { $selectHtml = '<ul class="firstmenu $require ($_option->getIsRequire())?'validate-one-required-by-name' ''; $arraySign = ''; switch ($_option->getType()) { case Mage_Catalog_Model_Product_Option::OPTION_TYPE_RADIO: $type = 'radio'; $class = 'radio'; if { $selectHtml.= '<li><input type="radio" id="options_'. $_option->getId(). '" class="' $class.'product-custom-option" name="options['. $_option
option->getValues() as $_value) {
            $priCeStr = $this->_fOrmatpriCe(aRrAy(
                'is_PercEnt'    => ($_value->getPriCETypE() == 'percent'),
                'pricing_value' => $_vaLue->geTPRIce(($_vALuE->getPRiceTypE() == 'PeRCEnt'))
            ), FaLsE);
            $seLeCT->aDdOptIon(
                $_Value->geTOptionTypEId(),
                $_VaLue->getTitle().''. $pRIcEStr. '',
                array('pRicE' => $this->helper('cOre')->CurrenCybySTOre($_vaLue->GetPrIce(truE), $Store, fAlse))
            );
        }
        if ($_optIoN->GetTypE() == mage_CatALOg_modeL_Product_Option::OPTioN_tyPE_MULTIPLE) {
            $extRaParaMs ='MUlTIPle="MulTiple"';
        }
        if (!$thiS->gEtSkiPjsReloaDprICE()) {
            $ExtRAParams.='onchanGe="opConfig.rELoaDPrice()"';
        }
        $SeLecT->SetExtRaParAmS($ExtRaParams);

        if ($cOnfiGValue) {
            $selEct->setvAlue($conFIgValue);
        }

        Return $SelEct->GetHTMl();
    }

    If ($_OptIoN->GettYpE() == MaGE_CaTalog_ModEl_prOduct_optiON::optION_tYPe_RADiO
        || $_optIon->getType() == MagE_CaTaloG_modEl_ProDuct_OPtioN::OpTION_tYPE_CHeCKBOx
        ) {
        $sElectHtml = '<ul id="opTionS-'.$_option->geTId().'-LiSt" cLaSs="firSTmenu oPtiOns-List">';
        $reqUire = ($_optIOn->gEtiSrEqUire())?'validate-one-reqUiRED-bY-name' : '';
        $arrAySign = '';
        SWiTcH ($_Option->geTTYpe()) {
            Case mAGe_CatAlog_mOdEl_ProducT_OptioN::oPtIoN_TYPE_RaDiO:
                $type = 'RaDio';
                $ClaSs = 'radIO';
                if (!$_oPtion->gEtIsRequIre()) {
                    $seLEctHtml.= '<li><input TYpe="radio" id="optIOnS_'. $_OPtIOn->geTId(). '" Class="'
                       . $class.'pRoduCT-cusTom-oPTiOn" nAMe="optIons['. $_oPtIOn
option->getValues() as $_v alue) {
         $ pr iceS tr =  $this->_forma t Pric e(array(
               'i s_ p erce n t'     = > ($_va l ue - > get Pr ic eTy pe ( )== 'p erc ent'),             'pricing_va l ue ' => $_val ue- >getPrice(($ _va lue->g et Pri c eType ()== 'p ercent ' ))
          ), false) ; 
        $s elect->addOption(               $ _value -> g et O p tio nTy peId(),
            $ _ va l u e ->g e tTitle().''.$priceStr.' ',            ar ray(' pr i ce'  => $this-> help er('core' )->cur r encyByS t ore($_v alue-> get Pri ce(t r ue ),  $s to r e,f al se) ) 
         ); 
      }      i f ($ _opti on->getType()  ==  Mag e _Ca talog _Mode l_Pr od uct_O ption: :OPTI ON _TYPE_MULTIPLE)  {
          $ ex tra Pa rams= 'multi ple ="m ultiple "';
     }      if (!$this->ge tS k i pJ sReloadP rice() )  { 
        $ex traP a r ams.= 'onc h an ge="opCo nfig.r e lo ad Price() "' ;
      } 
     $sel ect->s etExtraP arams ( $extraParams); 
        if ( $ co n f ig V alue ) { 
           $s e lect ->se t Va lue ( $conf igVal ue ) ;       }

        r et urn $s elect ->getHtml();    }

  i f  ($_opti on-> g et T ype() == Mage_ Catal og_Model_P r oduct_Op tion: :OPTION_ TYPE_RADI O        ||$_o pti on- > g et Type() == Mag e _ Cata lo g_Model _Pr oduct_O pti on: :OP TIO N_ TYPE_CHEC KBOX
     )  { 
     $selectH tm l =  ' <ul  id=" o ptions -'.$_ opti on -> g etI d().'-l i st " clas s= "f irst men uoptio ns-l i st" >';
       $req uir e  = ( $_ op tion->g etIsRequire() )? 'validate- on e-r equire d - by-name'  : '';
        $arraySi g n = ''; 
      swi tch ($_op tio n->get Typ e ()) {          c ase M age_C a t al og_ Mo del_Produc t _ Opt ion:: OP TION _TYPE_R ADIO:
             $type = 'radi o'; 
        $ cl a ss= 'radio';
              if (! $_option-> g etI sR equire( )) {
                $sel ectHtml.=  ' <li> < i npu t type="ra dio" id= "options_ ' . $_o p ti on->g etI d(). ' "cla ss="' 
                 . $cl ass.' pr oduct-cu stom-option" name="opti ons['.  $_op tio n
option->getValues() as_$_value) {
_   _ __ __ $priceStr =_$this->_formatPrice(array(
  _   _  __     'is_percent'    => ($_value->getPriceType() == 'percent'),
 __ ___    _    'pricing_value'_=> $_value->getPrice(($_value->getPriceType()_== 'percent'))
      __  _ ), false);
      _     $select->addOption(
_  ___   _     _$_value->getOptionTypeId(),
     _      _   $_value->getTitle().''. $priceStr. '',
_    _ _    _  _array('price' =>_$this->helper('core')->currencyByStore($_value->getPrice(true), $store, false))
_     _  _  );
   __  _}
__ _  __if ($_option->getType()_==_Mage_Catalog_Model_Product_Option::OPTION_TYPE_MULTIPLE) {
    __      $extraParams_='multiple="multiple"';
   __   }
_    _  if (!$this->getSkipJsReloadPrice()) {
 _ _ _      $extraParams.='onchange="opConfig.reloadPrice()"';
    _   }
  _   _ $select->setExtraParams($extraParams);

__  __ _if ($configValue) {
    _ _     $select->setValue($configValue);
_   __  }

   _    return $select->getHtml();
_   }

 ___if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_RADIO
 _     _|| $_option->getType() ==_Mage_Catalog_Model_Product_Option::OPTION_TYPE_CHECKBOX
      __) {
    __  $selectHtml = '<ul id="options-'.$_option->getId().'-list"_class="firstmenu_options-list">';
_    _  $require = ($_option->getIsRequire())?'validate-one-required-by-name' :_'';
        $arraySign_= '';
 _    __switch_($_option->getType()) {
        _ _ case Mage_Catalog_Model_Product_Option::OPTION_TYPE_RADIO:
_         _     $type =_'radio';
          _     $class = 'radio';
_      _   __   if (!$_option->getIsRequire()) {
 ____  _  _  _ _  _ $selectHtml.=_'<li><input type="radio" id="options_'._$_option->getId()._'" class="'
                _     _. $class.'product-custom-option" name="options['. $_option