Dumped Contents
In
CatalogController.php
line 80:
//dump($path);
//content path
$content = $c_serv->get_seo_content($path);
if($content)dump($content->getId() . ': ' . $content->getShortTitle());
//check template exist
"205: Коробка для пиццы 350x350x40 мм МГК Т−11E белый/бурый"
In
CatalogController.php
line 85:
//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) != '/') return $this->redirectToRoute('store_seo', ['path' => $path . '/'], 301);
"hook: "
In
CatalogController.php
line 133:
}
$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"