@@ -734,7 +734,6 @@ protected function setHeaderColumns($customOptionsData, $stockItemRows)
734
734
'additional_images ' ,
735
735
'additional_image_labels ' ,
736
736
'hide_from_product_page ' ,
737
- 'show_on_product_page ' ,
738
737
'custom_options '
739
738
]
740
739
);
@@ -1199,16 +1198,13 @@ private function appendMultirowData(&$dataRow, $multiRawData)
1199
1198
$ additionalImages = [];
1200
1199
$ additionalImageLabels = [];
1201
1200
$ additionalImageIsDisabled = [];
1202
- $ additionalImageIsEnabled = [];
1203
1201
foreach ($ multiRawData ['mediaGalery ' ][$ productLinkId ] as $ mediaItem ) {
1204
1202
if ((int )$ mediaItem ['_media_store_id ' ] === Store::DEFAULT_STORE_ID ) {
1205
1203
$ additionalImages [] = $ mediaItem ['_media_image ' ];
1206
1204
$ additionalImageLabels [] = $ mediaItem ['_media_label ' ];
1207
1205
1208
1206
if ($ mediaItem ['_media_is_disabled ' ] == true ) {
1209
1207
$ additionalImageIsDisabled [] = $ mediaItem ['_media_image ' ];
1210
- } else {
1211
- $ additionalImageIsEnabled [] = $ mediaItem ['_media_image ' ];
1212
1208
}
1213
1209
}
1214
1210
}
@@ -1218,8 +1214,6 @@ private function appendMultirowData(&$dataRow, $multiRawData)
1218
1214
implode (Import::DEFAULT_GLOBAL_MULTI_VALUE_SEPARATOR , $ additionalImageLabels );
1219
1215
$ dataRow ['hide_from_product_page ' ] =
1220
1216
implode (Import::DEFAULT_GLOBAL_MULTI_VALUE_SEPARATOR , $ additionalImageIsDisabled );
1221
- $ dataRow ['show_on_product_page ' ] =
1222
- implode (Import::DEFAULT_GLOBAL_MULTI_VALUE_SEPARATOR , $ additionalImageIsEnabled );
1223
1217
$ multiRawData ['mediaGalery ' ][$ productLinkId ] = [];
1224
1218
}
1225
1219
foreach ($ this ->_linkTypeProvider ->getLinkTypes () as $ linkTypeName => $ linkId ) {
@@ -1253,8 +1247,6 @@ private function appendMultirowData(&$dataRow, $multiRawData)
1253
1247
if ((int )$ mediaItem ['_media_store_id ' ] === $ storeId ) {
1254
1248
if ($ mediaItem ['_media_is_disabled ' ] == true ) {
1255
1249
$ additionalImageIsDisabled [] = $ mediaItem ['_media_image ' ];
1256
- } else {
1257
- $ additionalImageIsEnabled [] = $ mediaItem ['_media_image ' ];
1258
1250
}
1259
1251
}
1260
1252
}
@@ -1263,10 +1255,6 @@ private function appendMultirowData(&$dataRow, $multiRawData)
1263
1255
$ dataRow ['hide_from_product_page ' ] =
1264
1256
implode (Import::DEFAULT_GLOBAL_MULTI_VALUE_SEPARATOR , $ additionalImageIsDisabled );
1265
1257
}
1266
- if ($ additionalImageIsEnabled ) {
1267
- $ dataRow ['show_on_product_page ' ] =
1268
- implode (Import::DEFAULT_GLOBAL_MULTI_VALUE_SEPARATOR , $ additionalImageIsEnabled );
1269
- }
1270
1258
}
1271
1259
1272
1260
if (!empty ($ this ->collectedMultiselectsData [$ storeId ][$ productId ])) {
0 commit comments