Recent Topics

Identify customer/seller in config menu.php file



  • How to hide menu option in profile screen according to customer and seller ,how to identify the customer/seller in menu.php file ,
    shop->src->config->menu.php

    4685792f-b12b-4571-b9a7-5c6319a95657-image.png



  • Hi @yousuf

    Customer Menu is creating through sidemenu.blade.php file ( path = customers->account->sidemenu.blade.php in shop package's view).

    You can add your condition here to hide side menu & get can customer using below code.

    auth()->guard('customer')->user()
    

    thanks


Log in to reply