10 July 2017

Create your own plugin with the ability to configure it via shop, thanks to adding your own configuration fields

Our Open SaaS ™ strategy allows you to create secure and resistant to changes plugins, which are based on web integration. Previous mechanisms had one important limitation. Plugin had to be installed as a whole, so if you needed to introduce changes in the configuration, e.g. to enter a customer number, it was necessary to modify the code. Such a plugin was no longer super-easy to install and it was possible to spoil integration. In order to meet the needs of developers and our customers, we have created a new version of the plugin mechanism that allows you to define configuration fields. This way, the plugin code does not need to be changed to, for example, enter customer ID, key or any other parameters. The new feature is available for webhooks, CPA programs and HTML/JavaScript snippets (snippets) placed on store pages. The new mechanism gives developers the ability to enter any of their own configuration fields at the campaign level.

For the complete operation of the created scripts, certain values ​​are often required (e.g. IDs or literals), which until now had to be placed separately in the code of each script provided for different panels or stores. Instructing panel users how to make changes put at risk changing the content of scripts and therefore often prevent them from working properly.

We have introduced a mechanism for configuring extra fields necessary for the campaign script that will allow you to specify which fields are required for the script, display them in the Administration Panel as a field to be completed, and for those saved by the user, send them each time to the script in the form of variables.

With this solution, it is enough that the developer prepares one script campaign in the ICF format for webhooks , CPA programs or HTML/JavaScript snipptes, which can be easily imported and run in any IdoSell Shop panel.

The mechanism of creating variables is a completely new opportunity for developers and customers who use IdoSell Shop store to tailor solutions. This is another step towards the openness of IdoSell Shop solutions, allowing you to create your own solutions without modifying the source code.