1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/** |
4
|
|
|
* TechDivision\Import\Product\Bundle\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-bundle |
18
|
|
|
* @link http://www.techdivision.com |
19
|
|
|
*/ |
20
|
|
|
|
21
|
|
|
namespace TechDivision\Import\Product\Bundle\Utils; |
22
|
|
|
|
23
|
|
|
use TechDivision\Import\Product\Utils\ColumnKeys as FallbackColumnKeys; |
24
|
|
|
|
25
|
|
|
/** |
26
|
|
|
* Utility class containing the CSV column names. |
27
|
|
|
* |
28
|
|
|
* @author Tim Wagner <[email protected]> |
29
|
|
|
* @copyright 2016 TechDivision GmbH <[email protected]> |
30
|
|
|
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
31
|
|
|
* @link https://github.com/techdivision/import-product-bundle |
32
|
|
|
* @link http://www.techdivision.com |
33
|
|
|
*/ |
34
|
|
|
class ColumnKeys extends FallbackColumnKeys |
35
|
|
|
{ |
36
|
|
|
|
37
|
|
|
/** |
38
|
|
|
* Name for the column 'product_type'. |
39
|
|
|
* |
40
|
|
|
* @var string |
41
|
|
|
*/ |
42
|
|
|
const PRODUCT_TYPE = 'product_type'; |
43
|
|
|
|
44
|
|
|
/** |
45
|
|
|
* Name for the column 'store_view_code'. |
46
|
|
|
* |
47
|
|
|
* @var string |
48
|
|
|
*/ |
49
|
|
|
const STORE_VIEW_CODE = 'store_view_code'; |
50
|
|
|
|
51
|
|
|
/** |
52
|
|
|
* Name for the column 'bundle_values'. |
53
|
|
|
* |
54
|
|
|
* @var string |
55
|
|
|
*/ |
56
|
|
|
const BUNDLE_VALUES = 'bundle_values'; |
57
|
|
|
|
58
|
|
|
/** |
59
|
|
|
* Name for the column 'bundle_price_type'. |
60
|
|
|
* |
61
|
|
|
* @var string |
62
|
|
|
*/ |
63
|
|
|
const BUNDLE_PRICE_TYPE = 'bundle_price_type'; |
64
|
|
|
|
65
|
|
|
/** |
66
|
|
|
* Name for the column 'bundle_sku_type'. |
67
|
|
|
* |
68
|
|
|
* @var string |
69
|
|
|
*/ |
70
|
|
|
const BUNDLE_SKU_TYPE = 'bundle_sku_type'; |
71
|
|
|
|
72
|
|
|
/** |
73
|
|
|
* Name for the column 'bundle_price_view'. |
74
|
|
|
* |
75
|
|
|
* @var string |
76
|
|
|
*/ |
77
|
|
|
const BUNDLE_PRICE_VIEW = 'bundle_price_view'; |
78
|
|
|
|
79
|
|
|
/** |
80
|
|
|
* Name for the column 'bundle_weight_type'. |
81
|
|
|
* |
82
|
|
|
* @var string |
83
|
|
|
*/ |
84
|
|
|
const BUNDLE_WEIGHT_TYPE = 'bundle_weight_type'; |
85
|
|
|
|
86
|
|
|
/** |
87
|
|
|
* Name for the column 'bundle_shipment_type'. |
88
|
|
|
* |
89
|
|
|
* @var string |
90
|
|
|
*/ |
91
|
|
|
const BUNDLE_SHIPMENT_TYPE = 'bundle_shipment_type'; |
92
|
|
|
|
93
|
|
|
/** |
94
|
|
|
* Name for the column 'bundle_parent_sku'. |
95
|
|
|
* |
96
|
|
|
* @var string |
97
|
|
|
*/ |
98
|
|
|
const BUNDLE_PARENT_SKU = 'bundle_parent_sku'; |
99
|
|
|
|
100
|
|
|
/** |
101
|
|
|
* Name for the column 'bundle_value_name'. |
102
|
|
|
* |
103
|
|
|
* @var string |
104
|
|
|
*/ |
105
|
|
|
const BUNDLE_VALUE_NAME = 'bundle_value_name'; |
106
|
|
|
|
107
|
|
|
/** |
108
|
|
|
* Name for the column 'bundle_value_type'. |
109
|
|
|
* |
110
|
|
|
* @var string |
111
|
|
|
*/ |
112
|
|
|
const BUNDLE_VALUE_TYPE = 'bundle_value_type'; |
113
|
|
|
|
114
|
|
|
/** |
115
|
|
|
* Name for the column 'bundle_value_required'. |
116
|
|
|
* |
117
|
|
|
* @var string |
118
|
|
|
*/ |
119
|
|
|
const BUNDLE_VALUE_REQUIRED = 'bundle_value_required'; |
120
|
|
|
|
121
|
|
|
/** |
122
|
|
|
* Name for the column 'bundle_value_sku'. |
123
|
|
|
* |
124
|
|
|
* @var string |
125
|
|
|
*/ |
126
|
|
|
const BUNDLE_VALUE_SKU = 'bundle_value_sku'; |
127
|
|
|
|
128
|
|
|
/** |
129
|
|
|
* Name for the column 'bundle_value_price'. |
130
|
|
|
* |
131
|
|
|
* @var string |
132
|
|
|
*/ |
133
|
|
|
const BUNDLE_VALUE_PRICE = 'bundle_value_price'; |
134
|
|
|
|
135
|
|
|
/** |
136
|
|
|
* Name for the column 'bundle_value_default'. |
137
|
|
|
* |
138
|
|
|
* @var string |
139
|
|
|
*/ |
140
|
|
|
const BUNDLE_VALUE_DEFAULT = 'bundle_value_default'; |
141
|
|
|
|
142
|
|
|
/** |
143
|
|
|
* Name for the column 'bundle_value_default_qty'. |
144
|
|
|
* |
145
|
|
|
* @var string |
146
|
|
|
*/ |
147
|
|
|
const BUNDLE_VALUE_DEFAULT_QTY = 'bundle_value_default_qty'; |
148
|
|
|
|
149
|
|
|
/** |
150
|
|
|
* Name for the column 'bundle_price_type'. |
151
|
|
|
* |
152
|
|
|
* @var string |
153
|
|
|
*/ |
154
|
|
|
const BUNDLE_VALUE_PRICE_TYPE = 'bundle_value_price_type'; |
155
|
|
|
} |
156
|
|
|
|