/** * {@inheritdoc} */ public function getDefaultValues() { $parameters = $this->simpleProvider->getDefaultValues(); $parameters['decimalSeparator'] = LocalizerInterface::DEFAULT_DECIMAL_SEPARATOR; $parameters['dateFormat'] = LocalizerInterface::DEFAULT_DATE_FORMAT; $parameters['with_media'] = true; return $parameters; }
/** * {@inheritdoc} */ public function getDefaultValues() { $parameters = $this->simpleProvider->getDefaultValues(); $parameters['decimalSeparator'] = LocalizerInterface::DEFAULT_DECIMAL_SEPARATOR; $parameters['dateFormat'] = LocalizerInterface::DEFAULT_DATE_FORMAT; $parameters['copyValues'] = true; $parameters['invalid_items_file_format'] = 'csv'; return $parameters; }
/** * {@inheritdoc} */ public function getDefaultValues() { $parameters = $this->simpleProvider->getDefaultValues(); $parameters['filters'] = null; $parameters['selected_properties'] = null; $parameters['with_media'] = true; $parameters['locale'] = null; $parameters['scope'] = null; $parameters['ui_locale'] = null; return $parameters; }
/** * {@inheritdoc} */ public function getDefaultValues() { $parameters = $this->simpleProvider->getDefaultValues(); $parameters['decimalSeparator'] = LocalizerInterface::DEFAULT_DECIMAL_SEPARATOR; $parameters['dateFormat'] = LocalizerInterface::DEFAULT_DATE_FORMAT; $parameters['with_media'] = true; $parameters['filePath'] = sys_get_temp_dir() . 'csv_products_export.csv'; $defaultChannel = $this->channelRepository->getFullChannels()[0]; $defaultLocaleCode = $this->localeRepository->getActivatedLocaleCodes()[0]; $parameters['filters'] = ['data' => [['field' => 'enabled', 'operator' => OPERATORS::EQUALS, 'value' => true], ['field' => 'completeness', 'operator' => OPERATORS::GREATER_OR_EQUAL_THAN, 'value' => 100], ['field' => 'categories.code', 'operator' => OPERATORS::IN_CHILDREN_LIST, 'value' => []]], 'structure' => ['scope' => $defaultChannel->getCode(), 'locales' => [$defaultLocaleCode]]]; return $parameters; }
/** * {@inheritdoc} */ public function getDefaultValues() { $parameters = $this->simpleProvider->getDefaultValues(); $parameters['decimalSeparator'] = LocalizerInterface::DEFAULT_DECIMAL_SEPARATOR; $parameters['dateFormat'] = LocalizerInterface::DEFAULT_DATE_FORMAT; $parameters['enabled'] = true; $parameters['categoriesColumn'] = 'categories'; $parameters['familyColumn'] = 'family'; $parameters['groupsColumn'] = 'groups'; $parameters['enabledComparison'] = true; $parameters['realTimeVersioning'] = true; return $parameters; }