|
|
|
|
|
|
|
|
return $quantity.$unit->getWordingShort() ; |
|
|
return $quantity.$unit->getWordingShort() ; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function getQuantityTitle($productFamily) |
|
|
|
|
|
{ |
|
|
|
|
|
$title = $this->getQuantityLabelInherited() ; |
|
|
|
|
|
if($productFamily->hasProductsWithVariousWeight()) { |
|
|
|
|
|
$title .= ', '.$this->getTitleInherited() ; |
|
|
|
|
|
} |
|
|
|
|
|
return $title ; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public function getAvailableQuantityInherited() |
|
|
public function getAvailableQuantityInherited() |
|
|
{ |
|
|
{ |
|
|
if($this->getProductFamily()->getBehaviorCountStock()) { |
|
|
if($this->getProductFamily()->getBehaviorCountStock()) { |