Skip to content

Commit dacb4a4

Browse files
author
dyushkin
committed
MAGETWO-36877: Bank Transfer payment instructions is not displayed
1 parent cc65df0 commit dacb4a4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

app/code/Magento/OfflinePayments/Model/Banktransfer.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,14 @@ class Banktransfer extends \Magento\Payment\Model\Method\AbstractMethod
4141
* @var bool
4242
*/
4343
protected $_isOffline = true;
44+
45+
/**
46+
* Get instructions text from config
47+
*
48+
* @return string
49+
*/
50+
public function getInstructions()
51+
{
52+
return trim($this->getConfigData('instructions'));
53+
}
4454
}

0 commit comments

Comments
 (0)