diff --git a/CHANGELOG.md b/CHANGELOG.md index e15baad..3d0f75b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,3 +9,15 @@ Fix media import with wrong entity_type_id Force attribute code to be lowercase Manage attribute scope on import + +### 100.1.3 : +Change default pagination value to 100 + +Add SQL statement possibility in configurable mapping + +Add category configurations for anchor, status and display in menu + +Remove metadata from temporary table + +Fix JSON method for advanced filter + diff --git a/app/code/community/Pimgento/Api/Helper/Configuration.php b/app/code/community/Pimgento/Api/Helper/Configuration.php index bbf269b..ecd0edb 100644 --- a/app/code/community/Pimgento/Api/Helper/Configuration.php +++ b/app/code/community/Pimgento/Api/Helper/Configuration.php @@ -144,6 +144,30 @@ class Pimgento_Api_Helper_Configuration extends Mage_Core_Helper_Abstract * @var string $productTaxIdConfigField */ private $productTaxIdConfigField = 'tax_id'; + /** + * Category config path + * + * @var string $categoryConfigGroup + */ + private $categoryConfigGroup = 'category'; + /** + * Is category active config field + * + * @var string $isCategoryActive + */ + private $isCategoryActive = 'is_active'; + /** + * Is category in menu config field + * + * @var string $isCategoryInMenu + */ + private $isCategoryInMenu = 'include_in_menu'; + /** + * Is category anchor config field + * + * @var string $isCategoryAnchor + */ + private $isCategoryAnchor = 'is_anchor'; /** * Attribute config path * @@ -540,6 +564,45 @@ public function getCacheList($importCode) return $this->getConfigValue($configPath); } + /** + * Retrieve if categories must be active + * + * @return int + */ + public function getIsCategoryActive() + { + /** @var string $configPath */ + $configPath = sprintf('%s/%s/%s', $this->configSection, $this->categoryConfigGroup, $this->isCategoryActive); + + return (int)$this->getConfigValue($configPath); + } + + /** + * Retrieve if categories must be in menu + * + * @return int + */ + public function getIsCategoryInMenu() + { + /** @var string $configPath */ + $configPath = sprintf('%s/%s/%s', $this->configSection, $this->categoryConfigGroup, $this->isCategoryInMenu); + + return (int)$this->getConfigValue($configPath); + } + + /** + * Retrieve if categories must be anchor + * + * @return int + */ + public function getIsCategoryAnchor() + { + /** @var string $configPath */ + $configPath = sprintf('%s/%s/%s', $this->configSection, $this->categoryConfigGroup, $this->isCategoryAnchor); + + return (int)$this->getConfigValue($configPath); + } + /** * Retrieve Additional Attribute Types config * @@ -588,7 +651,7 @@ public function isPrefixEnabled() { /** @var string $configPath */ $configPath = sprintf('%s/%s/%s', $this->configSection, $this->attributeConfigGroup, $this->prefixReservedConfigField); - /** @var string $matches */ + /** @var string $isEnabled */ $isEnabled = $this->getConfigValue($configPath); if (empty($isEnabled)) { return false; @@ -933,7 +996,7 @@ public function getAdvancedFilters() } /** @var mixed[] $filters */ - $filters = json_decode($filters); + $filters = Mage::helper('core')->jsonDecode($filters); return (array)$filters; } diff --git a/app/code/community/Pimgento/Api/Helper/Entities.php b/app/code/community/Pimgento/Api/Helper/Entities.php index 396f036..dca2a68 100644 --- a/app/code/community/Pimgento/Api/Helper/Entities.php +++ b/app/code/community/Pimgento/Api/Helper/Entities.php @@ -17,7 +17,10 @@ class Pimgento_Api_Helper_Entities extends Mage_Core_Helper_Abstract * * @var string[] EXCLUDED_COLUMNS */ - const EXCLUDED_COLUMNS = ['_links']; + const EXCLUDED_COLUMNS = [ + '_links', + 'metadata', + ]; /** * Catalog product entity type id * diff --git a/app/code/community/Pimgento/Api/Model/Job/Category.php b/app/code/community/Pimgento/Api/Model/Job/Category.php index d1aaa2f..9433d12 100755 --- a/app/code/community/Pimgento/Api/Model/Job/Category.php +++ b/app/code/community/Pimgento/Api/Model/Job/Category.php @@ -387,9 +387,9 @@ public function setValues($task) /** @var mixed[] $values */ $values = [ - 'is_active' => new Zend_Db_Expr(1), - 'include_in_menu' => new Zend_Db_Expr(1), - 'is_anchor' => new Zend_Db_Expr(1), + 'is_active' => new Zend_Db_Expr($this->getConfigurationHelper()->getIsCategoryActive()), + 'include_in_menu' => new Zend_Db_Expr($this->getConfigurationHelper()->getIsCategoryInMenu()), + 'is_anchor' => new Zend_Db_Expr($this->getConfigurationHelper()->getIsCategoryAnchor()), 'display_mode' => new Zend_Db_Expr(sprintf('"%s"', Mage_Catalog_Model_Category::DM_PRODUCT)), ]; diff --git a/app/code/community/Pimgento/Api/Model/Job/Product.php b/app/code/community/Pimgento/Api/Model/Job/Product.php index 3642d8c..789adce 100644 --- a/app/code/community/Pimgento/Api/Model/Job/Product.php +++ b/app/code/community/Pimgento/Api/Model/Job/Product.php @@ -403,7 +403,7 @@ public function createConfigurable($task) } /** @var string $associationName */ foreach ($associationNames as $associationName) { - if (!empty($associationName) && $connection->tableColumnExists($productModelTable, $associationName)) { + if (!empty($associationName) && $connection->tableColumnExists($productModelTable, $associationName) && $connection->tableColumnExists($tmpTable, $associationName)) { $data[$associationName] = sprintf('v.%s', $associationName); } } @@ -448,7 +448,7 @@ public function createConfigurable($task) } if (strlen($value) > 0) { - $data[$column] = new Zend_Db_Expr(sprintf('"%s"', $value)); + $data[$column] = new Zend_Db_Expr($value); continue; } @@ -741,7 +741,7 @@ public function setValues($task) continue; } - if (empty($columnParts[1]) && !isset($values[0][$columnPrefix])) { + if (empty($columnParts[1])) { // No channel and no locale found: attribute scope naturally is Global $values[0][$columnPrefix] = $column; diff --git a/app/code/community/Pimgento/Api/etc/config.xml b/app/code/community/Pimgento/Api/etc/config.xml index cce6c1e..a8bdc29 100644 --- a/app/code/community/Pimgento/Api/etc/config.xml +++ b/app/code/community/Pimgento/Api/etc/config.xml @@ -134,7 +134,7 @@ 1 - 10 + 100 http://demo.akeneo.com @@ -146,6 +146,9 @@ block_html,collections + 1 + 1 + 1 block_html,collections,eav diff --git a/app/code/community/Pimgento/Api/etc/system.xml b/app/code/community/Pimgento/Api/etc/system.xml index 5d4d389..02f743d 100644 --- a/app/code/community/Pimgento/Api/etc/system.xml +++ b/app/code/community/Pimgento/Api/etc/system.xml @@ -49,7 +49,7 @@ - Must be a value between 1 and 100. Default value is 10. + Must be a value between 1 and 100. Default value is 100. text required-entry 30 @@ -191,6 +191,36 @@ 0 0 + + + select + adminhtml/system_config_source_yesno + Newly imported categories will be activated + 22 + 1 + 0 + 0 + + + + select + adminhtml/system_config_source_yesno + Newly imported categories categories will be included in menu + 23 + 1 + 0 + 0 + + + + select + adminhtml/system_config_source_yesno + Newly imported categories will be in anchor mode + 24 + 1 + 0 + 0 + @@ -322,7 +352,7 @@ pimgento_api/adminhtml_system_configurable adminhtml/system_config_backend_serialized_array - Fill configurable attributes with default value, leave blank to take simple product value or Product Model value if exists + Fill configurable attributes with default value, leave blank to take simple product value or Product Model value if exists. Value must be a chain between quotes or an SQL statement. 30 1 0 @@ -546,6 +576,7 @@ textarea + Please, ensure that your JSON format is valid before using advanced filter.
For example :
     {
diff --git a/app/locale/de_DE/Pimgento_Api.csv b/app/locale/de_DE/Pimgento_Api.csv
index b966b6f..8a379d6 100755
--- a/app/locale/de_DE/Pimgento_Api.csv
+++ b/app/locale/de_DE/Pimgento_Api.csv
@@ -4,6 +4,7 @@
 "Pimgento_Api::%d family(ies) inserted","%d Familie(n) eingefügt"
 "Pimgento_Api::%d line(s) found","%d Zeile(n) gefunden"
 "Pimgento_Api::%s product(s) with default family. Please try to import families.","%s Produkt(e) mit Standardfamilie. Bitte versuchen Sie, Familien zu importieren."
+"Pimgento_Api::Activate new categories","Activ Kategorien"
 "Pimgento_Api::Add 'pim_' prefix to attribute codes reserved by Magento. If disabled reserved attributes will be ignored (e.g.: collection)","Hinzufügen das Präfix 'pim_' den von Magento reservierten Attributcodes. Wenn deaktiviert, werden reservierte Attribute ignoriert (z.B. Sammlung)."
 "Pimgento_Api::Add columns to product model table","Spalten zur Produktmodelltabelle hinzufügen"
 "Pimgento_Api::Add or update attributes","Attribute hinzufügen oder aktualisieren"
@@ -20,6 +21,7 @@
 "Pimgento_Api::Akeneo Version","Akeneo-Version"
 "Pimgento_Api::API Credentials","API-Anmeldeinformationen"
 "Pimgento_Api::Api test failed: %s","Api-Test fehlgeschlagen: %s"
+"Pimgento_Api::Set new categories in anchor mode","Verankern Kategorien"
 "Pimgento_Api::Asset import is not enabled","Asset-Import ist nicht aktiviert"
 "Pimgento_Api::Associate options to attributes","Zuordnen von Optionen zu Attributen"
 "Pimgento_Api::Associate values to options","Zuordnen von Werten zu Optionen"
@@ -104,7 +106,7 @@
 "Pimgento_Api::Family Variant from PIM.","Familienvariante aus PIM."
 "Pimgento_Api::Family Variant","Familienvariante"
 "Pimgento_Api::Family","Familie"
-"Pimgento_Api::Fill configurable attributes with default value, leave blank to take simple product value or Product Model value if exists","Füllen Sie konfigurierbare Attribute mit einem Standardwert, lassen Sie das Feld leer, um einen einfachen Produktwert oder einen Produktmodellwert zu erhalten, falls vorhanden."
+"Pimgento_Api::Fill configurable attributes with default value, leave blank to take simple product value or Product Model value if exists. Value must be a chain between quotes or an SQL statement.","Füllen Sie konfigurierbare Attribute mit einem Standardwert, lassen Sie das Feld leer, um einen einfachen Produktwert oder einen Produktmodellwert zu erhalten, falls vorhanden. Der Wert muss eine SQL-Anweisung oder zwischen Anführungszeichen sein."
 "Pimgento_Api::Fill data into temporary table","Daten in die temporäre Tabelle eintragen"
 "Pimgento_Api::Fill temporary table","Füllen der temporären Tabelle"
 "Pimgento_Api::Found in your Akeneo configuration : System / API connections","In Ihrer Akeneo-Konfiguration zu finden: System / API-Verbindungen"
@@ -124,6 +126,10 @@
 "Pimgento_Api::Import only product updated since last X days. Leave blank for no filter.","Nur Produkte importieren, die seit den letzten X Tagen aktualisiert wurden. Lassen Sie das Feld leer, um keinen Filter zu verwenden."
 "Pimgento_Api::Import product from PIM.","Produkt aus PIM importieren."
 "Pimgento_Api::Import Product Model from PIM.","Produktmodell aus PIM importieren."
+"Pimgento_Api::Newly imported categories will be activated","Importiert Kategorien activ sind"
+"Pimgento_Api::Newly imported categories will be in anchor mode","Importiert Kategorien verankern sind"
+"Pimgento_Api::Newly imported categories categories will be included in menu","Importiert Kategorien in Menü begriffen sind"
+"Pimgento_Api::Include new categories in menu","Begriffen in Menü"
 "Pimgento_Api::Init default groups","Standardgruppen einrichten"
 "Pimgento_Api::Init stock","Init-Bestand"
 "Pimgento_Api::Link configurable with children","Link mit Kindern konfigurierbar"
@@ -143,7 +149,7 @@
 "Pimgento_Api::Match specific Pim attribute type with Magento any default field type","Abgleich des spezifischen Pim-Attributtyps mit Magento mit einem beliebigen Standardfeldtyp."
 "Pimgento_Api::Media import is not enabled","Medienimport ist nicht aktiviert"
 "Pimgento_Api::Mode","Modus"
-"Pimgento_Api::Must be a value between 1 and 100. Default value is 10.","Muss ein Wert zwischen 1 und 100 sein. Der Standardwert ist 10."
+"Pimgento_Api::Must be a value between 1 and 100. Default value is 100.","Muss ein Wert zwischen 1 und 100 sein. Der Standardwert ist 100."
 "Pimgento_Api::No Attribute data to insert in temp table","Keine Attributdaten zum Einfügen in die Temp-Tabelle"
 "Pimgento_Api::No axes for code: %s","Keine Achsen für Code: %s"
 "Pimgento_Api::No cache to clear for import: %s","Kein Cache, der für den Import geleert werden muss: %s"
diff --git a/app/locale/en_US/Pimgento_Api.csv b/app/locale/en_US/Pimgento_Api.csv
index cb062fa..83a22e9 100755
--- a/app/locale/en_US/Pimgento_Api.csv
+++ b/app/locale/en_US/Pimgento_Api.csv
@@ -4,6 +4,7 @@
 "Pimgento_Api::%d family(ies) inserted","%d family(ies) inserted"
 "Pimgento_Api::%d line(s) found","%d line(s) found"
 "Pimgento_Api::%s product(s) with default family. Please try to import families.","%s product(s) with default family. Please try to import families."
+"Pimgento_Api::Activate new categories","Activate new categories"
 "Pimgento_Api::Add 'pim_' prefix to attribute codes reserved by Magento. If disabled reserved attributes will be ignored (e.g.: collection)","Add 'pim_' prefix to attribute codes reserved by Magento. If disabled reserved attributes will be ignored (e.g.: collection)"
 "Pimgento_Api::Add columns to product model table","Add columns to product model table"
 "Pimgento_Api::Add or update attributes","Add or update attributes"
@@ -18,6 +19,7 @@
 "Pimgento_Api::Akeneo client authentication failed","Akeneo client authentication failed"
 "Pimgento_Api::Akeneo Url","Akeneo Url"
 "Pimgento_Api::Akeneo Version","Akeneo Version"
+"Pimgento_Api::Set new categories in anchor mode","Set new categories in anchor mode"
 "Pimgento_Api::API Credentials","API Credentials"
 "Pimgento_Api::Api test failed: %s","Api test failed: %s"
 "Pimgento_Api::Asset import is not enabled","Asset import is not enabled"
@@ -104,7 +106,7 @@
 "Pimgento_Api::Family Variant from PIM.","Family Variant from PIM."
 "Pimgento_Api::Family Variant","Family Variant"
 "Pimgento_Api::Family","Family"
-"Pimgento_Api::Fill configurable attributes with default value, leave blank to take simple product value or Product Model value if exists","Fill configurable attributes with default value, leave blank to take simple product value or Product Model value if exists"
+"Pimgento_Api::Fill configurable attributes with default value, leave blank to take simple product value or Product Model value if exists. Value must be a chain between quotes or an SQL statement.","Fill configurable attributes with default value, leave blank to take simple product value or Product Model value if exists. Value must be a chain between quotes or an SQL statement."
 "Pimgento_Api::Fill data into temporary table","Fill data into temporary table"
 "Pimgento_Api::Fill temporary table","Fill temporary table"
 "Pimgento_Api::Found in your Akeneo configuration : System / API connections","Found in your Akeneo configuration : System / API connections"
@@ -124,6 +126,10 @@
 "Pimgento_Api::Import only product updated since last X days. Leave blank for no filter.","Import only product updated since last X days. Leave blank for no filter."
 "Pimgento_Api::Import product from PIM.","Import product from PIM."
 "Pimgento_Api::Import Product Model from PIM.","Import Product Model from PIM."
+"Pimgento_Api::Newly imported categories will be activated","Newly imported categories will be activated"
+"Pimgento_Api::Newly imported categories will be in anchor mode","Newly imported categories will be in anchor mode"
+"Pimgento_Api::Newly imported categories categories will be included in menu","Newly imported categories categories will be included in menu"
+"Pimgento_Api::Include new categories in menu","Include new categories in menu"
 "Pimgento_Api::Init default groups","Init default groups"
 "Pimgento_Api::Init stock","Init stock"
 "Pimgento_Api::Link configurable with children","Link configurable with children"
@@ -143,7 +149,7 @@
 "Pimgento_Api::Match specific Pim attribute type with Magento any default field type","Match specific Pim attribute type with Magento any default field type"
 "Pimgento_Api::Media import is not enabled","Media import is not enabled"
 "Pimgento_Api::Mode","Mode"
-"Pimgento_Api::Must be a value between 1 and 100. Default value is 10.","Must be a value between 1 and 100. Default value is 10."
+"Pimgento_Api::Must be a value between 1 and 100. Default value is 100.","Must be a value between 1 and 100. Default value is 100."
 "Pimgento_Api::No Attribute data to insert in temp table","No Attribute data to insert in temp table"
 "Pimgento_Api::No axes for code: %s","No axes for code: %s"
 "Pimgento_Api::No cache to clear for import: %s","No cache to clear for import: %s"
diff --git a/app/locale/fr_FR/Pimgento_Api.csv b/app/locale/fr_FR/Pimgento_Api.csv
index 89f75d5..87fa07f 100755
--- a/app/locale/fr_FR/Pimgento_Api.csv
+++ b/app/locale/fr_FR/Pimgento_Api.csv
@@ -4,6 +4,7 @@
 "Pimgento_Api::%d family(ies) inserted","%d famille(s) ajoutée(s)"
 "Pimgento_Api::%d line(s) found","%d ligne(s) trouvée(s)"
 "Pimgento_Api::%s product(s) with default family. Please try to import families.","%s produit(s) avec la famille par défaut. Veuillez essayer d'importer les familles."
+"Pimgento_Api::Activate new categories","Activer les nouvelles catégories"
 "Pimgento_Api::Add 'pim_' prefix to attribute codes reserved by Magento. If disabled reserved attributes will be ignored (e.g.: collection)","Ajouter le préfixe 'pim_' aux codes d'attributs réservés par Magento. Si désactivé les attributs réservés seront ignorés (ex : collection)"
 "Pimgento_Api::Add columns to product model table","Ajout des colonnes à la table des modèles produit"
 "Pimgento_Api::Add or update attributes","Ajout ou mise à jour des attributs"
@@ -18,6 +19,7 @@
 "Pimgento_Api::Akeneo client authentication failed","L'authentification au client Akeneo a échoué"
 "Pimgento_Api::Akeneo Url","Url Akeneo"
 "Pimgento_Api::Akeneo Version","Version Akeneo"
+"Pimgento_Api::Set new categories in anchor mode","Configurer les nouvelles catégories en mode ancre"
 "Pimgento_Api::API Credentials","Identifiants API"
 "Pimgento_Api::Api test failed: %s","Le test de l'Api a échoué : %s"
 "Pimgento_Api::Asset import is not enabled","L'import d'asset est désactivé"
@@ -104,7 +106,7 @@
 "Pimgento_Api::Family Variant from PIM.","Import des variantes de famille du PIM."
 "Pimgento_Api::Family Variant","Variantes de famille"
 "Pimgento_Api::Family","Famille"
-"Pimgento_Api::Fill configurable attributes with default value, leave blank to take simple product value or Product Model value if exists","Remplir les attributs des produits configurables une valeur par défaut, laisser vide pour reprendre la valeur du produit simple ou du produit modèle si la valeur existe"
+"Pimgento_Api::Fill configurable attributes with default value, leave blank to take simple product value or Product Model value if exists. Value must be a chain between quotes or an SQL statement.","Remplir les attributs des produits configurables par une valeur par défaut, laisser vide pour reprendre la valeur du produit simple ou du produit modèle si la valeur existe. La valeur doit être mise entre quotes ou être une expression SQL retournant une chaîne"
 "Pimgento_Api::Fill data into temporary table","Insertion des données dans la table temporaire"
 "Pimgento_Api::Fill temporary table","Insertion dans la table temporaire"
 "Pimgento_Api::Found in your Akeneo configuration : System / API connections","Se trouve dans la configuration Akeneo : Système / Connexions API"
@@ -124,6 +126,10 @@
 "Pimgento_Api::Import only product updated since last X days. Leave blank for no filter.","Importer que les produits modifiés depuis les derniers X jours. Laisse vide pour ne pas appliquer de filtre."
 "Pimgento_Api::Import product from PIM.","Import des produits du PIM."
 "Pimgento_Api::Import Product Model from PIM.","Import des modèles de produits du PIM."
+"Pimgento_Api::Newly imported categories will be activated","Les nouvelles catégories importées seront activées"
+"Pimgento_Api::Newly imported categories will be in anchor mode","Les nouvelles catégories importées seront en mode ancres"
+"Pimgento_Api::Newly imported categories categories will be included in menu","Les nouvelles catégories importées seront inclues dans le menu"
+"Pimgento_Api::Include new categories in menu","Inclure les nouvelles catégories au menu"
 "Pimgento_Api::Init default groups","Initialisation des groupes par défaut"
 "Pimgento_Api::Init stock","Initialisation du stock"
 "Pimgento_Api::Link configurable with children","Liaison des configuable aux enfants"
@@ -143,7 +149,7 @@
 "Pimgento_Api::Match specific Pim attribute type with Magento any default field type","Correspondance des types d'attribut spécifique au PIM avec le type Magento pertinent"
 "Pimgento_Api::Media import is not enabled","L'import des media est désactivé"
 "Pimgento_Api::Mode","Mode"
-"Pimgento_Api::Must be a value between 1 and 100. Default value is 10.","Doit être une valeur entre 1 et 100. La valeur par défaut est 10."
+"Pimgento_Api::Must be a value between 1 and 100. Default value is 100.","Doit être une valeur entre 1 et 100. La valeur par défaut est 100."
 "Pimgento_Api::No Attribute data to insert in temp table","Aucune donnée d'attribut à insérer dans la table temporaire"
 "Pimgento_Api::No axes for code: %s","Aucun axe pour le code : %s"
 "Pimgento_Api::No cache to clear for import: %s","Aucun cache à vider pour l'import : %s"
diff --git a/doc/configuration/categories.md b/doc/configuration/categories.md
index 8914b87..a2b4ad4 100644
--- a/doc/configuration/categories.md
+++ b/doc/configuration/categories.md
@@ -3,8 +3,11 @@
 Configuration is available in Magento back-office under:
 * System > Configuration > Catalog > Pimgento > Category Settings
 
-| Configuration                 | Usage                                                                                  |
-|-------------------------------|----------------------------------------------------------------------------------------|
-| Reindex Data                  | Trigger Magento reindex after import                                                   |
-| Clear cache                   | Trigger cache clear after import                                                       |
-| Cache Selection               | Select which cache to flush                                                            |
\ No newline at end of file
+| Configuration                     | Usage                                                          |
+|-----------------------------------|----------------------------------------------------------------|
+| Reindex Data                      | Trigger Magento reindex after import                           |
+| Clear cache                       | Trigger cache clear after import                               |
+| Cache Selection                   | Select which cache to flush                                    |
+| Activate new categories           | Newly imported categories will be activated                    |
+| Include new categories in menu    | Newly imported categories categories will be included in menu  |
+| Set new categories in anchor mode | Newly imported categories will be in anchor mode               |
\ No newline at end of file
diff --git a/doc/configuration/general.md b/doc/configuration/general.md
index a148966..7a73868 100644
--- a/doc/configuration/general.md
+++ b/doc/configuration/general.md
@@ -5,5 +5,5 @@ Configuration is available in Magento back-office under:
 
 | Configuration                 | Usage                                                                                  |
 |-------------------------------|----------------------------------------------------------------------------------------|
-| Pagination size               | Set pagination for all import (the default value is 10)                                |
+| Pagination size               | Set pagination for all import (the default value is 100)                               |
 | Website Mapping               | Mapping between PIMGento websites and Akeneo channels                                  |
\ No newline at end of file
diff --git a/doc/configuration/products.md b/doc/configuration/products.md
index b94efcc..41d7af5 100644
--- a/doc/configuration/products.md
+++ b/doc/configuration/products.md
@@ -3,16 +3,16 @@
 Configuration is available in Magento back-office under:
 * System > Configuration > Catalog > Pimgento > Products settings
 
-| Configuration          | Usage                                                                                                                                             |
-|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------|
-| Attribute Mapping      | Mapping to import the value of an Akeneo attribute to an other attribute in Magento with a different code (leave empty to map with attribute code)|
-| Default tax class      | Set up default tax class for websites                                                                                                             |
-| Configurable           | Use the value column to force data for specific attribute. Leave empty to retrieve the value of the first simple product                          |
-| Import media files     | Set to "Yes" to import media files                                                                                                                |
-| PIM Images Attributes  | Declare Akeneo attributes to be imported as image attribute                                                                                       |
-| Product Images Mapping | Map Akeneo image attribute with Magento small image, thumbnail and swatch image                                                                   |
-| Import Asset Files     | Set to "Yes" to import assets                                                                                                                     |
-| PIM Asset Attributes   | Declare Akeneo attributes to be imported as asset attribute                                                                                       |
-| Reindex Data           | Trigger Magento reindex after import                                                                                                              |
-| Clear cache            | Trigger cache clear after import                                                                                                                  |
-| Cache Selection        | Select which cache to flush                                                                                                                       |
\ No newline at end of file
+| Configuration          | Usage                                                                                                                                                                                  |
+|------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Attribute Mapping      | Mapping to import the value of an Akeneo attribute to an other attribute in Magento with a different code (leave empty to map with attribute code)                                     |
+| Default tax class      | Set up default tax class for websites                                                                                                                                                  |
+| Configurable           | Use the value column to force data for specific attribute. Leave empty to retrieve the value of the first simple product. Value must be a chain between quotes or an SQL statement.    |
+| Import media files     | Set to "Yes" to import media files                                                                                                                                                     |
+| PIM Images Attributes  | Declare Akeneo attributes to be imported as image attribute                                                                                                                            |
+| Product Images Mapping | Map Akeneo image attribute with Magento small image, thumbnail and swatch image                                                                                                        |
+| Import Asset Files     | Set to "Yes" to import assets                                                                                                                                                          |
+| PIM Asset Attributes   | Declare Akeneo attributes to be imported as asset attribute                                                                                                                            |
+| Reindex Data           | Trigger Magento reindex after import                                                                                                                                                   |
+| Clear cache            | Trigger cache clear after import                                                                                                                                                       |
+| Cache Selection        | Select which cache to flush                                                                                                                                                            |
\ No newline at end of file