See your Craft CMS plugin sales visualised in the control panel. Requires a Craft Console account connected to an organisation account.

Plugin sales

Monthly sales

Plugin sales

License #

This plugin requires a commercial license purchasable through the Craft Plugin Store. The license fee is $99 plus $99 per subsequent year for updates (optional).

Requirements #

This plugin requires Craft CMS 3.4.0 or later, or 4.0.0 or later, or 5.0.0 or later, as well as a Craft Console account connected to an organisation.

Basic Usage #

Getting Started #

To install the plugin, search for Plugin Sales” in the Craft Plugin Store, or install manually using composer.

composer require putyourlightson/craft-plugin-sales

Once installed, enter credentials for your Craft Console account in the plugin settings and a job will be queued to refresh your plugin sales. Once complete, they will be visible in the plugin page.

Console Commands #

The following console commands are available.

php craft plugin-sales/sales/refresh

php craft plugin-sales/sales/delete

You can create a cron job to refresh sales at regular intervals. 

// Refresh plugin sales every hour.
0 * * * * php /path/to/craft plugin-sales/sales/refresh

Settings #

Control Panel Settings #

Craft Console Email #

Enter the email address you use to login to your Craft Console account. This can be set to an environment variable.

Craft Console Password #

Enter the email address you use to login to your Craft Console account. This can be set to an environment variable.

Organisation ID #

The organisation ID that is used for plugin sales (defaults to the first organisation found in the account).

Currency #

The currency to use when displaying sales data. Exchange rates are fetched from exchangerate.host each time sales are refreshed.

Colour Palette #

You can change the colour palette that will be used when generating charts.

Plugin settings

Config Settings #

To set the plugin settings with a config file, copy the config.php to your project’s main config directory as plugin-sales.php and uncomment any settings you wish to change. All of the available settings are listed and documented in the config file.

More #

Support #

Support is provided through GitHub issues and by email at support@​putyourlightson.​com.

Have a suggestion to improve the docs? Create an issue with details, and we'll do our best to integrate your ideas.