Before the latest update, we had the ability to set the customer status to "Hidden" instead of the default Active / Disabled.
How can we enable this again?
Before the latest update, we had the ability to set the customer status to "Hidden" instead of the default Active / Disabled.
How can we enable this again?
I have checked CS-Cart 4.3.6 and 4.10.4 versions. There is no ability to hide customers there
We had it hooked with something in the profiles_account.tpl
{include file="common/select_status.tpl" input_name="user_data[status]" id="user_data" obj=$user_data hidden=false display=$display}
For anyone else who wants to know, its a small change to the core files found at
/design/backend/templates/views/profiles/components/profiles_account.tpl
around line 42 change
{include file="common/select_status.tpl" input_name="user_data[status]" id="user_data" obj=$user_data hidden=false display=$display}
to
{include file="common/select_status.tpl" input_name="user_data[status]" id="user_data" obj=$user_data hidden=true display=$display}
then you will be able to hide the user in the profiles.update dispatch.
*For changing in the profiles.manage /design/backend/templates/views/profiles/manage.tpl
{include file="common/select_popup.tpl" id=$u_id status=$user.status hidden="true" update_controller="profiles" notify=true notify_text=__("notify_user") popup_additional_class="`$popup_additional_class` dropleft" non_editable=$non_editable}
Thank you for sharing the solution. But next time please inform that the functionality was added by 3rd party
Its not 3rd party....
I cant download your image: (https://postimg.cc/tYcP9817)
its there in 4.6.2
/design/backend/templates/views/profiles/components/profiles_account.tpl
Check out line 32
{include file="common/select_status.tpl" input_name="user_data[status]" id="user_data" obj=$user_data hidden=false display=$display}