Bagisto Forum

    Bagisto

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

    Hide Shop Extension

    Modules
    4
    4
    279
    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.
    • S
      sanjana singh last edited by

      Hello, I am using the Bagisto 1.1.2 and installed successfully this extension (Hide the Shop from guest) on it.
      My question is, after the client logins on the shop the profile page is shown. Can I change to show the main page of the shop instead of appear the profile page?
      If it is possible, could you guide me how to do it please?

      1 Reply Last reply Reply Quote 0
      • V
        Vaishali Agarwal last edited by

        Hi @sanjana-singh
        Yes, this is possible to redirect on main page, allow us some time so that we can check this and will get back to you soon.

        Thanks

        W 1 Reply Last reply Reply Quote 0
        • W
          William Hatanaka @Vaishali Agarwal last edited by

          @Vaishali-Agarwal,
          Thank you !

          1 Reply Last reply Reply Quote 0
          • D
            David Ve last edited by

            just change show function in vendor/bagisto/bagisto/packages/Webkul/Customer/src/Http/Controllers

            public function show()
                {
                    if (auth()->guard('customer')->check()) {
                        return redirect()->route('customer.profile.index');
                    } else {
                        $intendedUrl = url()->route('shop.home.index');
                        session()->put('url.intended', $intendedUrl);
                       return view($this->_config['view']);
                    }
                }
            
            1 Reply Last reply Reply Quote 0
            • First post
              Last post