Jump to content

Add HTML to Mail in Payment


Recommended Posts

I suspect the simplest way to do this would be to modify the viewinvoice.tpl template -exactly how might depend on the specific template you're using, but for the "Default" theme, you could replace {$paymentbutton} with...

 

{if $paymentmodule eq "mailin"}{$paymentbutton|cat:'additional text<br/><a href=\"http://www.google.com\">simple link</a>'}{else}{$paymentbutton}{/if}

if Mail In Payment is chosen, it displays the text you've already added to the Payment Gateway and then adds some additional text with a link - if you just want to add the link, remove... additional text<br/> - all other payment gateways will just show the text and/or buttons as before.

Link to comment
Share on other sites

  • 6 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated