Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Identify customer/seller in config menu.php file

    Modules
    2
    2
    311
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yousuf last edited by

      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

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post