products.inc in Commerce Migrate 7
Represents "products.csv".
File
commerce_migrate_example/migrations/abstractions/products.incView source
<?php
/**
* @file
* Represents "products.csv".
*/
/**
* Class CommerceMigrateExampleProductsCsv.
*/
abstract class CommerceMigrateExampleProductsCsv extends \CommerceMigrateExampleMigration {
const FILE = 'products.csv';
/**
* {@inheritdoc}
*/
public static function csvColumns() {
return array(
'sku' => 'SKU',
'title' => 'Title',
'price' => 'Price',
'currency_code' => 'Currency code',
'image' => 'Image',
'description' => 'Description',
);
}
}
Classes
Name | Description |
---|---|
CommerceMigrateExampleProductsCsv | Class CommerceMigrateExampleProductsCsv. |