lengow / plugin-magento2

Plugin Lengow for Magento 2 Repository
Open Software License 3.0
3 stars 9 forks source link
ecommerce lengow magento2 php plugin

Lengow for Magento 2

Overview

Lengow is the e-commerce automation solution that helps brands and distributors improve their performance, automate their business processes, and grow internationally. The Lengow platform is the key to strong profitability and visibility for products sold by online retailers around the world on all distribution channels: marketplaces, comparison shopping engines, affiliate platforms and display/retargeting platforms. Since 2009, Lengow has integrated more than 1,600 partners into its solution to provide a powerful platform to its 4,600 retailers and brands in 42 countries around the world.

Major features in Lengow include:

The Lengow plugin is free to download and it enables you to export your product catalogs and manage your orders. It is compatible only with the new version of our platform. A Lengow account is created during the extension installation and you will have free access to our platform for 15 days. To benefit from all the functionalities of Lengow, this requires you to pay for an account on the Lengow platform.

Plugin installation

Follow the instruction below if you want to install Lengow for Magento 2 using Git.

1.) Clone the git repository in the Magento 2 app/code folder using:

git clone git@github.com:lengow/plugin-magento2.git Lengow/Connector

In case you wish to contribute to the plugin, fork the dev branch rather than cloning it, and create a pull request via Github. For further information please read the section "Become a contributor" of this document.

2.) Set the correct directory permissions:

chmod -R 755 app/code/Lengow/Connector

Depending on your server configuration, it might be necessary to set whole write permissions (777) to the files and folders above. You can also start testing with lower permissions due to security reasons (644 for example) as long as your php process can write to those files.

3.) Connect via SSH and run the following commands (make sure to run them as the user who owns the Magento files!)

php bin/magento module:enable Lengow_Connector
php bin/magento maintenance:enable
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento maintenance:disable

4.) Go to "System" > "Cache Management" and click both the "Flush Magento Cache" as well as the "Flush Cache Storage" button. This is required to activate the extension.

5.) Log in with your Lengow credentials and configure the plugin

Frequently Asked Questions

Where can I find Lengow documentation and user guides?

For help setting up and configuring Lengow plugin please refer to our user guide

Where can I get support?

To make a support request to Lengow, use our helpdesk.

Become a contributor

Lengow for Magento 2 is available under license (OSL-3.0). If you want to contribute code (features or bugfixes), you have to create a pull request via Github and include valid license information.

The master branch contains the latest stable version of the plugin. The dev branch contains the version under development. All Pull requests must be made on the dev branch and must be validated by reviewers working at Lengow.

By default the plugin is made to work on our pre-production environment (my.lengow.net). To change this environment, you must modify the two constants present in the file Lengow/Connector/Model/Connector.php

const LENGOW_URL = 'lengow.net';
const LENGOW_API_URL = 'https://api.lengow.net';

Translation

Translations in the plugin are managed via a key system and associated yaml files.

Please note that in Magento 2, English content is used as the translation key. You have to be careful that the English translation is identical in the code and in the yml files.

Start by installing Yaml Parser:

sudo apt-get install php5-dev libyaml-dev
sudo pecl install yaml

To translate the project, use specific key in php code and modify the *.yml files in the directory: Lengow/Connector/tools/yml/

Once the translations are finished, just run the translation update script in Lengow/Connector/tools folder

php translate.php

The plugin is translated into English, French and German.

Changelog

The changelog and all available commits are located under CHANGELOG.