Question

I'd like to add submenu in Customer admin menu. I have this code below to show my custom submenu of customer support.

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="../../../Backend/etc/menu.xsd">
    <menu>
        <add id="Ced_CsCustomerSupport::customers_support_information"
            title="Customer Information"
            translate="title"
            module="CsCustomerSupport"
            sortOrder="50"
            parent="Magento_Customer::customer"
            action="cscustomersupport/customer/index"
            resource="Ced_CsCustomerSupport::customers_support_information"/>
    </menu>
</config>

enter image description here

But it's not showing up. Anything I can do with this?

Thank you in Advance

Was it helpful?

Solution

Try This Code

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../Magento/Backend/etc/menu.xsd">
   <menu>
         <add id="Ced_CsCustomerSupport::customers_support_information"
            title="Ced CsCustomer Support"
            translate="title"
            module="Ced_CsCustomerSupport"
            sortOrder="50"
            parent="Magento_Customer::customer"
            resource="Ced_CsCustomerSupport::customers_support_information" />

          <add id="Ced_CsCustomerSupport::menu"
           title="Customer Information"
           module="Ced_CsCustomerSupport"
           sortOrder="100"
           parent="Ced_CsCustomerSupport::customers_support_information"
           action="cscustomersupport/customer/index"
           resource="Ced_CsCustomerSupport::menu"/>

</menu>
</config>
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top