Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function install()
 {
     $this->attribute->install(['Magento_ConfigurableSampleData::fixtures/attributes.csv']);
     $this->category->install(['Magento_ConfigurableSampleData::fixtures/categories.csv']);
     $this->configurableProduct->install();
     $this->productLinkSetup->install(['Magento_ConfigurableSampleData::fixtures/Links/related.csv'], ['Magento_ConfigurableSampleData::fixtures/Links/upsell.csv'], ['Magento_ConfigurableSampleData::fixtures/Links/crossell.csv']);
 }
Пример #2
0
 /**
  * {@inheritdoc}
  */
 public function install()
 {
     $this->category->install(['Magento_CmsSampleData::fixtures/categories.csv']);
     $this->css->install(['Magento_CmsSampleData::fixtures/styles.css' => 'styles.css']);
     $this->page->install(['Magento_CmsSampleData::fixtures/pages/pages.csv']);
     $this->block->install(['Magento_CmsSampleData::fixtures/blocks/categories_static_blocks.csv', 'Magento_CmsSampleData::fixtures/blocks/categories_static_blocks_giftcard.csv', 'Magento_CmsSampleData::fixtures/blocks/pages_static_blocks.csv']);
 }
Пример #3
0
 /**
  * {@inheritdoc}
  */
 public function install()
 {
     $this->attributeSetup->install(['Magento_CatalogSampleData::fixtures/attributes.csv']);
     $this->categorySetup->install(['Magento_CatalogSampleData::fixtures/categories.csv']);
     $this->productSetup->install(['Magento_CatalogSampleData::fixtures/SimpleProduct/products_gear_bags.csv', 'Magento_CatalogSampleData::fixtures/SimpleProduct/products_gear_fitness_equipment.csv', 'Magento_CatalogSampleData::fixtures/SimpleProduct/products_gear_fitness_equipment_ball.csv', 'Magento_CatalogSampleData::fixtures/SimpleProduct/products_gear_fitness_equipment_strap.csv', 'Magento_CatalogSampleData::fixtures/SimpleProduct/products_gear_watches.csv'], ['Magento_CatalogSampleData::fixtures/SimpleProduct/images_gear_bags.csv', 'Magento_CatalogSampleData::fixtures/SimpleProduct/images_gear_fitness_equipment.csv', 'Magento_CatalogSampleData::fixtures/SimpleProduct/images_gear_watches.csv']);
 }