Add description2 field to AdvancedSearchSeoClass and update related templates
This commit is contained in:
@@ -141,6 +141,7 @@ class pm_advancedsearch4seoModuleFrontController extends ModuleFrontController
|
||||
'path' => $resultSeoUrl[0]['title'],
|
||||
'as_seo_title' => $resultSeoUrl[0]['title'],
|
||||
'as_seo_description' => $resultSeoUrl[0]['description'],
|
||||
'as_seo_description2' => $resultSeoUrl[0]['description2'],
|
||||
'as_cross_links' => AdvancedSearchSeoClass::getCrossLinksSeo((int)$this->context->language->id, $resultSeoUrl[0]['id_seo']),
|
||||
));
|
||||
} else {
|
||||
|
||||
@@ -158,6 +158,7 @@ class pm_advancedsearch4seoModuleFrontController extends AdvancedSearchProductLi
|
||||
'listing' => $variables,
|
||||
'id_search' => $this->idSearch,
|
||||
'as_seo_description' => $this->seoPageInstance->description,
|
||||
'as_seo_description2' => $this->seoPageInstance->description2,
|
||||
'as_seo_title' => $this->seoPageInstance->title,
|
||||
'as_see_also_txt' => $this->module->l('See also', 'seo-17'),
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user