Skip to content

Instantly share code, notes, and snippets.

@kermie
Created June 5, 2013 19:27
Show Gist options
  • Save kermie/5716516 to your computer and use it in GitHub Desktop.
Save kermie/5716516 to your computer and use it in GitHub Desktop.
getPrice() method in OXID eShop 4.7.5
public function getNettoPrice()
{
if ( $this->_blNetPriceMode ) {
return oxRegistry::getUtils()->fRound($this->_dNetto);
} else {
return $this->getBruttoPrice() - $this->getVatValue();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment