Skip to content

Commit c37562b

Browse files
luigifabfballiano
authored andcommitted
Backend: Added method code in payment method list (#2735)
1 parent 66604fc commit c37562b

File tree

1 file changed

+2
-2
lines changed
  • app/code/core/Mage/Payment/Helper

1 file changed

+2
-2
lines changed

app/code/core/Mage/Payment/Helper/Data.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,9 @@ public function getPaymentMethodList($sorted = true, $asLabelValue = false, $wit
237237
$labelValues[$code]['label'] = $title;
238238
} elseif (isset($groupRelations[$code])) {
239239
unset($labelValues[$code]);
240-
$labelValues[$groupRelations[$code]]['value'][$code] = ['value' => $code, 'label' => $title];
240+
$labelValues[$groupRelations[$code]]['value'][$code] = ['value' => $code, 'label' => $title.' ('.$code.')'];
241241
} else {
242-
$labelValues[$code] = ['value' => $code, 'label' => $title];
242+
$labelValues[$code] = ['value' => $code, 'label' => $title.' ('.$code.')'];
243243
}
244244
}
245245
return $labelValues;

0 commit comments

Comments
 (0)