You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: controllers/admin/AdminPerformanceController.php
+21-21
Original file line number
Diff line number
Diff line change
@@ -212,27 +212,27 @@ public function initFieldsetFeaturesDetachables()
212
212
'type' => 'hidden',
213
213
'name' => 'features_detachables_up'
214
214
),
215
-
array(
216
-
'type' => 'switch',
217
-
'label' => $this->l('Combinations'),
218
-
'name' => 'combination',
219
-
'is_bool' => true,
220
-
'disabled' => Combination::isCurrentlyUsed(),
221
-
'values' => array(
222
-
array(
223
-
'id' => 'combination_1',
224
-
'value' => 1,
225
-
'label' => $this->l('Yes'),
226
-
),
227
-
array(
228
-
'id' => 'combination_0',
229
-
'value' => 0,
230
-
'label' => $this->l('No')
231
-
)
232
-
),
233
-
'hint' => $this->l('Choose "No" to disable Product Combinations.'),
234
-
'desc' => Combination::isCurrentlyUsed() ? $this->l('You cannot set this parameter to No when combinations are already used by some of your products') : null
235
-
),
215
+
// array(
216
+
// 'type' => 'switch',
217
+
// 'label' => $this->l('Combinations'),
218
+
// 'name' => 'combination',
219
+
// 'is_bool' => true,
220
+
// 'disabled' => Combination::isCurrentlyUsed(),
221
+
// 'values' => array(
222
+
// array(
223
+
// 'id' => 'combination_1',
224
+
// 'value' => 1,
225
+
// 'label' => $this->l('Yes'),
226
+
// ),
227
+
// array(
228
+
// 'id' => 'combination_0',
229
+
// 'value' => 0,
230
+
// 'label' => $this->l('No')
231
+
// )
232
+
// ),
233
+
// 'hint' => $this->l('Choose "No" to disable Product Combinations.'),
234
+
// 'desc' => Combination::isCurrentlyUsed() ? $this->l('You cannot set this parameter to No when combinations are already used by some of your products') : null
ON (fp.`id_feature_price` = fpg.`id_feature_price` AND fpg.`id_group` = '.(int) $id_group.')' : '').'
1314
1314
WHERE fp.`id_cart` = 0 AND fp.`id_product`='.(int) $id_product.' AND fp.`date_selection_type` = '.(int) HotelRoomTypeFeaturePricing::DATE_SELECTION_TYPE_RANGE.'
1315
1315
AND `is_special_days_exists`=0 AND `active`=1
1316
1316
AND fp.`date_from` <= \''.pSQL($date).'\' AND fp.`date_to` >= \''.pSQL($date).'\''
0 commit comments