plentymarkets offers you the possibility to develop and modify plentymarkets plugins. plentymarkets currently hosts free plugins on GitHub. We are also hosting a designated plugin marketplace from which you can download plugins developed by plentymarkets and third party providers and also offer plugins you created. We recommend that you maintain plugins you create in a Git repository to ensure version control and allow error tracking.
To get you started, the documentation on this site provides an introduction to developing, managing and deploying plentymarkets plugins. Furthermore, it also documents the public plentymarkets plugin interface and the new REST API. You find multiple tutorials and guides for different plugin types. Build your first plugin in this tutorial.
For reasons of security and to optimise performance, all plugins are based on recent technologies. The source code can be developed using PHP 7. PHP 7 comes with many new features, reduced memory consumption and increased performance.
UI and content are rendered using the twig template engine. The twig syntax is easy to learn, and still offers great flexibility. Twig, both fast and secure, is compatible with PHP 7.
For maintaining stylesheets, the preprocessor SASS is used. SASS provides you with a large variety of features and abilities, making it the premier CSS extension language of the industry.
In this section, we will describe the general plugin workflow for developers, starting with creating a new plugin, modifying the plugin, as well as testing and deploying the plugin.
There are several ways to create plugins. We recommend the following basic workflow when creating plentymarkets plugins.
You can also modify or extend existing plugins. The plugins can either have been created by youself or by third parties. We recommend the following basic workflow when modifying plentymarkets plugins.
When you are ready to test your plugin, deploy the plugin set in the plentymarkets backend.
plentymarkets plugins are made available as Git repositories. The Plugins » Git menu provides a simple Git client interface that allows you to clone plentymarkets plugin repositories to your plentymarkets inbox. It offers all the benefits of full version control for plentymarkets plugin files hosted on Git-based version control solutions, such as GitHub or Bitbucket. We strongly recommend developing plugins using a Git-based version control solution. Version control provides you with the means to track and revert errors at an early stage of development.
Use the Plugins » Git menu to:
The GitHub Bootcamp (https://help.github.com/categories/bootcamp/) provides a good starting point for users not familiar with the basic concepts of distributed version control.
We strongly recommend that you upload your plugin project files to a Git-based version control solution. Distributed version control offers the following advantages:
plentymarkets plugin sets are deployed in the Plugins » Plugin oberview menu by clicking the Save & publish plugins button.
The deployment process is also the point at which the syntax of the plugin files is validated. This means that the plugin syntax is not checked when plugin files are added to the Inbox. Plugins are not deployed if errors occur during deployment.
You need access to the Plugins » Plugin overview menu of the plentymarkets back end to manage and deploy plentymarkets plugins.
The Plugins » Git menu provides a user interface for managing and deploying the plugin files in your plentymarkets Inbox.
Use the Plugins » Plugin overview menu to: