Disable Admin Notifications Bell

I seem to rememeber CS cart staff saying thsi woudl be able to be disabled but I cant see the post.

Can the admin notifications be disabled for certain admins, I have different admins with different priveliges and dont want them all to see the notifications ....just me.

https://prnt.sc/mq0GIcQ4z39d

Hi!

I am afraid, but currently there is no feature in CS-Cart, to disable internal notifications only (those ones in the bell), to everyone but the main administrator.

I seem to rememeber CS cart staff saying thsi woudl be able to be disabled but I cant see the post.

Can the admin notifications be disabled for certain admins, I have different admins with different priveliges and dont want them all to see the notifications ....just me.

https://prnt.sc/mq0GIcQ4z39d

design/backend/templates/menu.tpl

find:


{include file="components/notifications_center/opener.tpl"}

replace with:


{* {include file="components/notifications_center/opener.tpl"}*}

then clear/delete cache

design/backend/templates/menu.tpl

find:


{include file="components/notifications_center/opener.tpl"}

replace with:


{* {include file="components/notifications_center/opener.tpl"}*}

then clear/delete cache

Good man, thanks John

Please let me note, that it will remove the notifications icon for everyone in the admin panel, but not the notifications themselves.

However is such a solution suits you, you can make it even better, by changing the code:

{include file="components/notifications_center/opener.tpl"}

with this code:

{if $auth.user_id == 1}
{include file="components/notifications_center/opener.tpl"}
{/if}

In this case, the bell icon will be displayed only for the user with ID = 1, which is the main administrator, by default. Also it will be a good move to make these changes via menu:general hook, instead of changing core file.

https://docs.cs-cart.com/latest/developer_guide/addons/hooking/tpl_hooks.html

Please let me note, that it will remove the notifications icon for everyone in the admin panel, but not the notifications themselves.

However is such a solution suits you, you can make it even better, by changing the code:

{include file="components/notifications_center/opener.tpl"}

with this code:

{if $auth.user_id == 1}
{include file="components/notifications_center/opener.tpl"}
{/if}

In this case, the bell icon will be displayed only for the user with ID = 1, which is the main administrator, by default. Also it will be a good move to make these changes via menu:general hook, instead of changing core file.

https://docs.cs-cart.com/latest/developer_guide/addons/hooking/tpl_hooks.html

Many thanks