Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter ananddevops

    (@ananddevops)

    And its not a cache issue, I cleared everything and checked for just incase sake.

    Hi @ananddevops, thanks for reaching WCMp Support!!

    Can you please explain the flow further, are you referring to that if you disable WC Marketplace, the Dashboard page is still accessible. Or you are referring to something else.

    We will wait for your reply.

    Thread Starter ananddevops

    (@ananddevops)

    I have Storefront+WooComm site. I have installed the WCmp plugin and set it up with basic settings.

    Now I am working in the main site, so I deactivated the WCmp plugin. So my site is accessible. But the page – Vendor dashboard(which is a WCmp page) associated with mystore/dashboard link, SHOULD be down/give a no such page message, simply because the plugin is deactive.

    The above is the correct ideal functioning. But it’s NOT happening so. The mystore/dashboard page is available LIVE(since the store is LIVE).

    Hence I am trying to understand why so?

    • This reply was modified 6 years, 5 months ago by ananddevops.
    Thread Starter ananddevops

    (@ananddevops)

    To simplify it further,

    WCmp created two pages on installation and activation:

    1. Vendor Registration – link is mysite/vendor-registration
    2. Vendor Dashboard – link is mysite/dashboard

    If the WCmp plugin is deactivated, ideally these pages should not be available, it should either give a – No such page error. Or to better manage it redirect to the home page, like it does if I give any random link for e.g mysite/tryingrandonlink

    But instead, even after deactivation these pages are available.

    Hope this gives enough clarity.

    @ananddevops, our plugin WC Marketplace, just like WooCommerce creates the pages while installing the plugin for the first time.

    Now, when a page gets created, it becomes a page of the site. Now, if you disable the plugin, the page will be there. The reason is, users might want to activate the plugin again.

    Hence for each time, they will disable the plugin, they need to create all the pages again manually for using them again. That is why WooCommerce also doesn’t delete their pages also.

    Let us know if you have any further query.

    Thread Starter ananddevops

    (@ananddevops)

    @dualcube

    True. Thats how it should be.

    But is it possible that when plugin is deactivated, its corresponding pages say so on screen like – Currently Deactivated.

    Better still redirect to the homepage, like incase of any other random link.

    Thanks

    @ananddevops, in order to run our logic, the plugin needs to be activated.

    Hence, if you disable our plugin, any logic added inside our plugin won’t execute.

    Let us know if you have any further query.

    Thread Starter ananddevops

    (@ananddevops)

    Thanks. Appreciate the explanations.

    We are happy to help @ananddevops

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Why is dashboard page live even when plugin is deactive?’ is closed to new replies.