Can I Add HTML to Payment Amount Descriptons?

created

If you want to add a little HTML to your payment amount descriptions to, say, bold the amount to set it apart from the rest of the text, you can do that.

As an example, this would be your payment amount value without HTML:

100; $100 - Please donate 100 dollars to our noble and selfless cause

And this would be with some HTML:

100; <b>$100</b> - Please donate 100 dollars to our noble and <i>selfless</i> cause<br /><br />

Notice that I've added the bold tag: <b></b> around $100
And the italics tag: <i></i> around "selfless"
And also added two line breaks at the end, to add a space after the text.

This would result in something like the following on the front-end:

$100 - Please donate 100 dollars to our noble and selfless cause

With some extra space below that item.

Have more questions? Submit a request
Article is closed for comments.