Example #1
0
 /**
  * Applies currency factor
  *
  * @param oxPrice $oPrice Price object
  * @param object  $oCur   Currency object
  */
 protected function _applyCurrency(\OxidEsales\EshopCommunity\Core\Price $oPrice, $oCur = null)
 {
     if (!$oCur) {
         $oCur = $this->getConfig()->getActShopCurrencyObject();
     }
     $oPrice->multiply($oCur->rate);
 }