|
|
|
|
|
|
|
|
|
|
|
|
|
|
foreach ($entity->getProducts() as $product) { |
|
|
foreach ($entity->getProducts() as $product) { |
|
|
if($entity->getProductsQuantityAsTitle() && $product->getStatus()>=1){ |
|
|
if($entity->getProductsQuantityAsTitle() && $product->getStatus()>=1){ |
|
|
$product->setTitle($product->getQuantityInherited().$product->getUnitInherited()->getWording()); |
|
|
|
|
|
|
|
|
$product->setTitle(str_replace('.', ',',$product->getQuantityInherited()).$product->getUnitInherited()->getWording()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
$product->setProductFamily($entity); |
|
|
$product->setProductFamily($entity); |