在Checkout页面的支付方式选择那里,安装 eWAY 插件后,可以使用 eWAY 方式支付,如何在 Credit Card – eWAY 前边添加小图标?
编辑 app/code/community/Eway/Rapid31/Block/Form/Direct/Ewayone.php 文件,添加以下两句代码可以实现:
protected function _construct()
{
parent::_construct();
$this->setIsRecurring(Mage::helper(‘ewayrapid’)->isRecurring());
$this->setTemplate(‘ewayrapid/form/direct_ewayone.phtml’)
->setMethodTitle(”)
->setMethodLabelAfterHtml(“<img src=’https://www.evse.com.au/media/linksforce/eway.png’ alt=” /> Credit Card – eWAY”);
}