Plugin Sales Logo Plugin Sales

Beautiful charts and reports of your plugin sales.

The most relevant charts for quick and insightful overviews.

See plugin sales in your currency and filtered by date range.

Export plugin sales in CSV format.

Your Craft CMS plugin sales visualised in the control panel. Requires a Craft ID developer account.

Plugin sales

Monthly sales

Plugin sales

License #

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

Requirements #

This plugin requires Craft CMS 3.4.0 or later and a Craft ID developer account.

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 ID accoun tin 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.

./craft plugin-sales/sales/refresh

./craft plugin-sales/sales/delete

You can create a cron job to refresh sales at regular intervals. Change /usr/bin/php to the PHP path (if different).

Entering which php in the console will give you the full path to PHP in most environments.

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

Settings #

Control Panel Settings #

Craft ID Email #

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

Craft ID Password #

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

Currency #

The currency to use when displaying sales data. Exchange rates are fetched from exchanger​ates​api​.io 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 [email protected]​putyourlightson.​net.