diff --git a/intaro.retailcrm/export/export_setup.php b/intaro.retailcrm/export/export_setup.php index 02579e8b..3f9375f8 100644 --- a/intaro.retailcrm/export/export_setup.php +++ b/intaro.retailcrm/export/export_setup.php @@ -52,8 +52,6 @@ $iblockFieldsName = $settingsService->getIblockFieldsNames(); $iblockPropertiesHint = $settingsService->getHintProps(); $units = $settingsService->getUnitsNames(); $hintUnit = $settingsService->getHintUnit(); -$SETUP_FILE_NAME = $settingsService->setupFileName; -$SETUP_PROFILE_NAME = $settingsService->setupProfileName; //highloadblock if (CModule::IncludeModule('highloadblock')) { @@ -62,6 +60,9 @@ if (CModule::IncludeModule('highloadblock')) { } if (($ACTION === 'EXPORT' || $ACTION === 'EXPORT_EDIT' || $ACTION === 'EXPORT_COPY') && $STEP === 1) { + $SETUP_FILE_NAME = $settingsService->setupFileName; + $SETUP_PROFILE_NAME = $settingsService->setupProfileName; + $iblockProperties = $settingsService->getIblockPropsPreset(); $loadPurchasePrice = $settingsService->loadPurchasePrice; $iblockExport = $settingsService->iblockExport; @@ -357,7 +358,6 @@ if ($STEP === 1) { $arIBlock['OLD_PROPERTY_SKU_SELECT'], $propertyKey ); - echo $isSelected ? ' selected' : ''; ?> > @@ -377,7 +377,6 @@ if ($STEP === 1) {