Hi,
As mentioned already, for v157 there is not that much support for plugins are used catalog side, that will come in v158.
Note also that code within the zc_plugin directory is protected by an .htaccess file so, can never be run directly anyway.
That said...
You can get the path to a plugin using
Code:
$path = $pluginManager->getPluginVersionDirectory('myPluginKey', $installedPlugins)
$pluginManager and $installedPlugins are available in the global scope, so if you want to use them in a function/class method you will need to bring them into scope.
For v158 (and we have this working already) you will be able to have URI's like
Code:
https://mdomain.com/index.php?cmd=someplugincode
which will resolve to code within the plugin directory
Bookmarks