1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/** |
4
|
|
|
* TechDivision\Import\Product\Link\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-link |
18
|
|
|
* @link http://www.techdivision.com |
19
|
|
|
*/ |
20
|
|
|
|
21
|
|
|
namespace TechDivision\Import\Product\Link\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-link |
30
|
|
|
* @link http://www.techdivision.com |
31
|
|
|
*/ |
32
|
|
|
class ColumnKeys extends \TechDivision\Import\Product\Utils\ColumnKeys |
33
|
|
|
{ |
34
|
|
|
|
35
|
|
|
/** |
36
|
|
|
* Name for the column 'link_parent_sku'. |
37
|
|
|
* |
38
|
|
|
* @var string |
39
|
|
|
*/ |
40
|
|
|
const LINK_PARENT_SKU = 'link_parent_sku'; |
41
|
|
|
|
42
|
|
|
/** |
43
|
|
|
* Name for the column 'link_child_sku'. |
44
|
|
|
* |
45
|
|
|
* @var string |
46
|
|
|
*/ |
47
|
|
|
const LINK_CHILD_SKU = 'link_child_sku'; |
48
|
|
|
|
49
|
|
|
/** |
50
|
|
|
* Name for the column 'link_type_code'. |
51
|
|
|
* |
52
|
|
|
* @var string |
53
|
|
|
*/ |
54
|
|
|
const LINK_TYPE_CODE = 'link_type_code'; |
55
|
|
|
|
56
|
|
|
/** |
57
|
|
|
* Name for the column 'link_position'. |
58
|
|
|
* |
59
|
|
|
* @var string |
60
|
|
|
*/ |
61
|
|
|
const LINK_POSITION = 'link_position'; |
62
|
|
|
|
63
|
|
|
/** |
64
|
|
|
* Name for the column 'related_skus'. |
65
|
|
|
* |
66
|
|
|
* @var string |
67
|
|
|
*/ |
68
|
|
|
const RELATED_SKUS = 'related_skus'; |
69
|
|
|
|
70
|
|
|
/** |
71
|
|
|
* Name for the column 'upsell_skus'. |
72
|
|
|
* |
73
|
|
|
* @var string |
74
|
|
|
*/ |
75
|
|
|
const UPSELL_SKUS = 'upsell_skus'; |
76
|
|
|
|
77
|
|
|
/** |
78
|
|
|
* Name for the column 'crosssell_skus'. |
79
|
|
|
* |
80
|
|
|
* @var string |
81
|
|
|
*/ |
82
|
|
|
const CROSSSELL_SKUS = 'crosssell_skus'; |
83
|
|
|
|
84
|
|
|
/** |
85
|
|
|
* Name for the column 'related_position'. |
86
|
|
|
* |
87
|
|
|
* @var string |
88
|
|
|
*/ |
89
|
|
|
const RELATED_POSITION = 'related_position'; |
90
|
|
|
|
91
|
|
|
/** |
92
|
|
|
* Name for the column 'upsell_position'. |
93
|
|
|
* |
94
|
|
|
* @var string |
95
|
|
|
*/ |
96
|
|
|
const UPSELL_POSITION = 'upsell_position'; |
97
|
|
|
|
98
|
|
|
/** |
99
|
|
|
* Name for the column 'crosssell_position'. |
100
|
|
|
* |
101
|
|
|
* @var string |
102
|
|
|
*/ |
103
|
|
|
const CROSSSELL_POSITION = 'crosssell_position'; |
104
|
|
|
} |
105
|
|
|
|