File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
app/code/Magento/CatalogImportExport/Model/Import/Product Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity
47
47
48
48
const COLUMN_ROW_SKU = '_custom_option_row_sku ' ;
49
49
50
- const COLUMN_MAX_CHARACTERS = '_custom_option_max_characters ' ;
51
-
52
50
const COLUMN_ROW_SORT = '_custom_option_row_sort ' ;
53
51
54
52
/**#@-*/
@@ -58,6 +56,11 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity
58
56
*/
59
57
const XML_PATH_PAGE_SIZE = 'import/format_v1/page_size ' ;
60
58
59
+ /**
60
+ * @var string
61
+ */
62
+ private $ columnMaxCharacters = '_custom_option_max_characters ' ;
63
+
61
64
/**
62
65
* All stores code-ID pairs
63
66
*
@@ -1108,7 +1111,7 @@ private function processOptionRow($name, $optionRow)
1108
1111
$ result [self ::COLUMN_PREFIX . 'price ' ] = $ result [self ::COLUMN_ROW_PRICE ];
1109
1112
1110
1113
if (isset ($ optionRow ['max_characters ' ])) {
1111
- $ result [self :: COLUMN_MAX_CHARACTERS ] = $ optionRow ['max_characters ' ];
1114
+ $ result [$ this -> columnMaxCharacters ] = $ optionRow ['max_characters ' ];
1112
1115
}
1113
1116
1114
1117
return $ result ;
You can’t perform that action at this time.
0 commit comments