File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Options
13
13
There are two system configuration options under Sales -> Checkout -> Promo Code Error Messages. You can display
14
14
additional information about the error (for example, if the customer is not in the correct group for the rule, you can
15
15
display the required groups). In addition, error messaging for the more complex condition-based rules can be turned off.
16
- This part is still under active development.
16
+
17
17
18
18
Translations
19
19
------------
Original file line number Diff line number Diff line change @@ -272,7 +272,6 @@ protected function _processRule($condition = array())
272
272
$ type = $ condition ['type ' ];
273
273
$ ruleType = Mage::getModel ($ type );
274
274
$ isCurrency = in_array ($ attribute , $ this ->_currency_attributes );
275
- $ msgs = array ();
276
275
$ msg = null ;
277
276
278
277
// categories
@@ -320,7 +319,6 @@ protected function _processRule($condition = array())
320
319
if ($ attribute == $ attributeOptionCode ) {
321
320
$ value = $ isCurrency ? Mage::helper ('core ' )->currency ($ value , true , false ) : $ value ;
322
321
$ msg = sprintf ('%s %s <em>%s</em>. ' , $ attributeOptionText , $ operatorText , $ value );
323
- $ msgs [] = $ msg ;
324
322
break ;
325
323
}
326
324
}
You can’t perform that action at this time.
0 commit comments