1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/** |
4
|
|
|
* TechDivision\Import\Product\Variant\Utils\ColumnKeys |
5
|
|
|
* |
6
|
|
|
* NOTICE OF LICENSE |
7
|
|
|
* |
8
|
|
|
* This source file is subject to the Open Software License (OSL 3.0) |
9
|
|
|
* that is available through the world-wide-web at this URL: |
10
|
|
|
* http://opensource.org/licenses/osl-3.0.php |
11
|
|
|
* |
12
|
|
|
* PHP version 5 |
13
|
|
|
* |
14
|
|
|
* @author Tim Wagner <[email protected]> |
15
|
|
|
* @copyright 2016 TechDivision GmbH <[email protected]> |
16
|
|
|
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
17
|
|
|
* @link https://github.com/techdivision/import-product-variant |
18
|
|
|
* @link http://www.techdivision.com |
19
|
|
|
*/ |
20
|
|
|
|
21
|
|
|
namespace TechDivision\Import\Product\Variant\Utils; |
22
|
|
|
|
23
|
|
|
/** |
24
|
|
|
* Utility class containing the CSV column names. |
25
|
|
|
* |
26
|
|
|
* @author Tim Wagner <[email protected]> |
27
|
|
|
* @copyright 2016 TechDivision GmbH <[email protected]> |
28
|
|
|
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
29
|
|
|
* @link https://github.com/techdivision/import-product-variant |
30
|
|
|
* @link http://www.techdivision.com |
31
|
|
|
*/ |
32
|
|
|
class ColumnKeys extends \TechDivision\Import\Product\Utils\ColumnKeys |
33
|
|
|
{ |
34
|
|
|
|
35
|
|
|
/** |
36
|
|
|
* Name for the column 'configurable_variations'. |
37
|
|
|
* |
38
|
|
|
* @var string |
39
|
|
|
*/ |
40
|
|
|
const CONFIGURABLE_VARIATIONS = 'configurable_variations'; |
41
|
|
|
|
42
|
|
|
/** |
43
|
|
|
* Name for the column 'configurable_variation_labels'. |
44
|
|
|
* |
45
|
|
|
* @var string |
46
|
|
|
*/ |
47
|
|
|
const CONFIGURABLE_VARIATION_LABELS = 'configurable_variation_labels'; |
48
|
|
|
|
49
|
|
|
/** |
50
|
|
|
* Name for the column 'variant_parent_sku'. |
51
|
|
|
* |
52
|
|
|
* @var string |
53
|
|
|
*/ |
54
|
|
|
const VARIANT_PARENT_SKU = 'variant_parent_sku'; |
55
|
|
|
|
56
|
|
|
/** |
57
|
|
|
* Name for the column 'variant_child_sku'. |
58
|
|
|
* |
59
|
|
|
* @var string |
60
|
|
|
*/ |
61
|
|
|
const VARIANT_CHILD_SKU = 'variant_child_sku'; |
62
|
|
|
|
63
|
|
|
/** |
64
|
|
|
* Name for the column 'variant_option_value'. |
65
|
|
|
* |
66
|
|
|
* @var string |
67
|
|
|
*/ |
68
|
|
|
const VARIANT_OPTION_VALUE = 'variant_option_value'; |
69
|
|
|
|
70
|
|
|
/** |
71
|
|
|
* Name for the column 'variant_variation_label'. |
72
|
|
|
* |
73
|
|
|
* @var string |
74
|
|
|
*/ |
75
|
|
|
const VARIANT_VARIATION_LABEL = 'variant_variation_label'; |
76
|
|
|
} |
77
|
|
|
|