Displaying information on current account

This is a modification of Displaying data obtained via AJAX plugin. Unlike the original plugin which provides information on default account, i.e. one you're logged into, this plugin will return information about currently selected account, from those added by user to their primary one.

Aside from its direct purpose, the plugin can be used as a demonstration of retrieving data via AJAX in the product.

Upon downloading and extracting plugin package, rename its main directory from:




Then you'll need to deploy the plugin so that its index file is available at the following location:


To enable the plugin, add the following to array defined in data/settings/config.php file:

'plugins.about-current-account' => true,