We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fda3b5 commit 8935451Copy full SHA for 8935451
1 file changed
view/frontend/templates/script/component/category/add-to-wishlist.phtml
@@ -19,7 +19,8 @@ use Magento\Framework\View\Element\Template;
19
20
const customerSection = Alpine.store('LokiLocalStorage').get('customer');
21
if (!customerSection.fullname) {
22
- Alpine.store('LokiMessageStore').addNoticeMessage('<?= __('You need to login to use the wishlist') ?>');
+ const message = '<?= $escaper->escapeHtml(__('You need to login to use the wishlist')) ?>';
23
+ Alpine.store('LokiMessageStore').addNoticeMessage(message);
24
return;
25
}
26
0 commit comments