File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
app/code/Magento/SalesRule
Test/Unit/Model/Rule/Metadata/_files Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ public function getMetadataValues(\Magento\SalesRule\Model\Rule $rule)
78
78
$ applyOptions = [
79
79
['label ' => __ ('Percent of product price discount ' ), 'value ' => Rule::BY_PERCENT_ACTION ],
80
80
['label ' => __ ('Fixed amount discount ' ), 'value ' => Rule::BY_FIXED_ACTION ],
81
- ['label ' => __ ('Fixed amount discount for whole cart ' ), 'value ' => Rule::BY_PERCENT_ACTION ],
81
+ ['label ' => __ ('Fixed amount discount for whole cart ' ), 'value ' => Rule::CART_FIXED_ACTION ],
82
82
['label ' => __ ('Buy X get Y free (discount amount is Y) ' ), 'value ' => Rule::BUY_X_GET_Y_ACTION ]
83
83
];
84
84
Original file line number Diff line number Diff line change 1
1
<?php
2
+ /**
3
+ * Copyright © 2016 Magento. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
6
+
2
7
return [
3
8
'rule_information ' =>
4
9
[
101
106
],
102
107
[
103
108
'label ' => __ ('Fixed amount discount for whole cart ' ),
104
- 'value ' => 'by_percent ' ,
109
+ 'value ' => 'cart_fixed ' ,
105
110
],
106
111
[
107
112
'label ' => __ (
You can’t perform that action at this time.
0 commit comments