Re: Help with Adding an extra Description Line under Payment Method Options:
Thank you Steve, very much appreciate your help!
After working on this for many days, finally it worked I think.
These codes where already in the dirbankaus.php file:
class dirbankaus{
var $code, $title, $description, $enabled;
&
$this->code = 'dirbankaus';
$this->title = MODULE_PAYMENT_DIRBANKAUS_TEXT_TITLE;
$this->description = MODULE_PAYMENT_DIRBANKAUS_TEXT_DESCRIPTION;
But the Description wasn't showing, just the module name would appear.
As for the Function Selection, this code was already there:
function selection() {
return array('id' => $this->code,
'module' => $this->title);
}
So I just adjusted it to this by looking at your code:
function selection() {
return array('id' => $this->code,
'module' => $this->title . '<center><span class="smallText"><span style="color: sienna;"<i><em>Bank Details will be included in your Order Confirmation Email.</i></em></span></center><div id="bankpayment"><img src="images/bankpayment.png" alt="Pay with Bank Deposit" title="Pay with Bank Deposit" /></div>');
}
Now I can see the extra line as I wanted thanks to you
https://i.imgur.com/3vNdDxK.png
I am having trouble adjusting it to the position and styling I wanted but this will do the job for now.
*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!
Bookmarks