тут очень много с карточкой товара и импортом.
This commit is contained in:
@@ -84,8 +84,8 @@ final class CatalogController
|
||||
['title' => 'Каталог', 'url' => '/catalog'],
|
||||
];
|
||||
|
||||
if (!empty($product['category_id'])) {
|
||||
$breadcrumbs = $categoryRepository->breadcrumbs((int) $product['category_id']);
|
||||
if (!empty($product['display_category_id'] ?? $product['category_id'] ?? null)) {
|
||||
$breadcrumbs = $categoryRepository->breadcrumbs((int) ($product['display_category_id'] ?? $product['category_id']));
|
||||
}
|
||||
|
||||
$breadcrumbs[] = ['title' => (string) $product['name']];
|
||||
|
||||
Reference in New Issue
Block a user