|
|
|
|
|
|
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public function getProductCategoryChild(ProductFamilyInterface $productFamily, SectionInterface $section) |
|
|
public function getProductCategoryChild(ProductFamilyInterface $productFamily, SectionInterface $section) |
|
|
{ |
|
|
{ |
|
|
$productCategories = $productFamily->getProductCategories(); |
|
|
$productCategories = $productFamily->getProductCategories(); |
|
|
|
|
|
|
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public function isPropertyNoveltyOnline(ProductFamilyInterface $productFamily): ?bool |
|
|
public function isPropertyNoveltyOnline(ProductFamilyInterface $productFamily): ?bool |
|
|
{ |
|
|
{ |
|
|
if ($productFamily->getPropertyNoveltyExpirationDate()) { |
|
|
if ($productFamily->getPropertyNoveltyExpirationDate()) { |
|
|
|
|
|
|
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public function countProperties(ProductFamilyInterface $productFamily): bool |
|
|
public function countProperties(ProductFamilyInterface $productFamily): bool |
|
|
{ |
|
|
{ |
|
|
$count = 0; |
|
|
$count = 0; |
|
|
|
|
|
|
|
|
return $count; |
|
|
return $count; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public function hasProductsWithVariousWeight(ProductFamilyInterface $productFamily) |
|
|
public function hasProductsWithVariousWeight(ProductFamilyInterface $productFamily) |
|
|
{ |
|
|
{ |
|
|
if ($productFamily->getActiveProducts()) { |
|
|
if ($productFamily->getActiveProducts()) { |
|
|
|
|
|
|
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public function getProductsGroupByTitle(ProductFamilyInterface $productFamily): array |
|
|
public function getProductsGroupByTitle(ProductFamilyInterface $productFamily): array |
|
|
{ |
|
|
{ |
|
|
$arrayProductsGroupByTitle = []; |
|
|
$arrayProductsGroupByTitle = []; |
|
|
|
|
|
|
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public function isCategoriesOnlineInSection(ProductFamilyInterface $productFamily, SectionInterface $section): bool |
|
|
public function isCategoriesOnlineInSection(ProductFamilyInterface $productFamily, SectionInterface $section): bool |
|
|
{ |
|
|
{ |
|
|
$isCategoriesOnlineInSection = false; |
|
|
$isCategoriesOnlineInSection = false; |