You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Helper/Configuration/NoticeHelper.php
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ class NoticeHelper extends \Magento\Framework\App\Helper\AbstractHelper
44
44
'getClickAnalyticsNotice',
45
45
'getPersonalizationNotice',
46
46
'getRecommendNotice',
47
+
'getCookieConfigurationNotice',
47
48
];
48
49
49
50
/** @var array[] */
@@ -207,6 +208,27 @@ protected function getClickAnalyticsNotice()
207
208
'message' => $noticeContent,
208
209
];
209
210
}
211
+
212
+
protectedfunctiongetCookieConfigurationNotice()
213
+
{
214
+
$noticeContent = '';
215
+
$selector = '';
216
+
$method = 'after';
217
+
218
+
// If the feature is enabled in the Algolia dashboard but not activated on the Magento Admin
219
+
$noticeContent = '
220
+
<div class="algolia_block_cookie">
221
+
Find out more about Algolia Cookie Configuration in <a href="https://www.algolia.com/doc/integration/magento-2/how-it-works/analytics-overview/?client=php#algolia-cookie-configuration?utm_source=magento&utm_medium=extension&utm_campaign=magento_2&utm_term=shop-owner&utm_content=doc-link" target="_blank">documentation</a>.
0 commit comments