Basically the scenarios are I have two store view one is for Pakistan and the other is for America. I want to enable the extension for one store and disable for other store?
Is there any way to do this?
Basically the scenarios are I have two store view one is for Pakistan and the other is for America. I want to enable the extension for one store and disable for other store?
Is there any way to do this?
You can go to "Store->Configurations", open the module configurations and then click on "Store View" and change it to the respective store and set it "Enable" or "Disable" accordingly.
A Magento 2 module can only be enabled/disabled globally.
In shell php bin/magento module:
you see the commands available for enable/disable.
It is common that you can have different configuration for different store views but you can not disable a module for a store view.
Check the admin settings for the module and see if there is any leads to inactivate features in the module for a specific store view.