Bagisto Forum

    Bagisto

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

    How can I implement a protected Store

    Knowledge Base
    1
    1
    648
    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.
    • V
      vittorio last edited by vittorio

      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?

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