How can I implement a protected Store



  • I want to protect my store with a global login, but want to have other Views available for Content.

    I copied the routes from routes.php in the Shop Module into a store.php in my own routes directory (later I will customise the Views), and added the customer middleware to it. Now is the question how I can remove the old Routes without breaking compatibility of the package with editing the Webkul Package.

    Or is idea of adding the middleware of the storefront with a duplicated routes file wrong?


Log in to reply