Dumped Contents
In
CatalogController.php
line 79:
//dump($path);
//content path
$content = $c_serv->get_seo_content($path);
if ($content) dump($content->getId() . ': ' . $content->getShortTitle());
$resp_404 = $this->render('@Store/ui/404.html.twig');
dump($path);
"158: Картонная коробка 400x300x300 мм П−32BC бурый"
In
CatalogController.php
line 82:
if ($content) dump($content->getId() . ': ' . $content->getShortTitle());
$resp_404 = $this->render('@Store/ui/404.html.twig');
dump($path);
"/catalog/cartonnye-korobki/kartonnaya-korobka-400-300-300-p32/"
In
CatalogController.php
line 88:
//check template exist
$template_hook = $c_serv->check_template_hook($path);
dump('hook: ' . $template_hook);
if ($template_hook) {
//redirect trailing slash
if (substr($path, -1) != '/') {
"hook: "
In
CatalogController.php
line 145:
}
$template = $c_serv->get_template_name($content);
dump('view type: ' . $template);
return $this->render('@Store/content/view/' . $template . '.html.twig', [
'content' => $content,
'filters' => [],
"view type: product"