This commit is contained in:
Daniel Seifert 2017-05-30 16:17:39 +02:00
parent 47476ca025
commit 6d777cd9f5
1 changed files with 12 additions and 0 deletions

View File

@ -20,4 +20,16 @@ class d3_dev_oxbasketitem extends d3_dev_oxbasketitem_parent
{
$this->_oArticle = null;
}
public function getTitle()
{
$oArticle = $this->getArticle();
$this->_sTitle = $oArticle->oxarticles__oxtitle->value;
if ($oArticle->oxarticles__oxvarselect->value) {
$this->_sTitle = $this->_sTitle . ', ' . $this->getVarSelect();
}
return $this->_sTitle;
}
}