-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Hi
trustpilot module version 2.6.564
Had issue with check index page, in this place, on index page, I got cms_page_view instead of cms_index_index
if ($this->_request->getFullActionName() == 'cms_index_index') {
temporary solved it by:
--- a/Block/Trustbox.php
+++ b/Block/Trustbox.php
@@ -65,7 +65,8 @@
$trustboxSettings->categoryProductsData = $this->loadCategoryProductInfo($scope, $storeId, $currentCategory);
}
}
- if ($this->_request->getFullActionName() == 'cms_index_index') {
+ #if ($this->_request->getFullActionName() == 'cms_index_index') {
+ if (in_array('cms_index_index', $this->getLayout()->getUpdate()->getHandles())) {
$loadedTrustboxes = array_merge((array)$this->loadPageTrustboxes($settings, 'landing'), (array)$loadedTrustboxes);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels