Add Buttons to Your PT.Transact Invoices

This article applies to PT.Transact+ only.

There's a lot more to PT.Transact+'s invoices than you may realise. We've previously published a short tutorial on how you can personalise and beef up your invoices, which you can read here.

In this tutorial, we're going to show you how you can further personalise your invoices by adding buttons to them.

Buttons are a great way to add a link or action to an invoice whilst making it stand out to your clients so that they can click on it.

For example, you may want to have a button asking your client's to Like your Facebook page. In our previous example, we did just this using plain ol' text. But wouldn't it be great if you have a nice big button on your invoice that really stands out? That makes the call-to-action (CTA) much more effective.

This guide will show you how you can do this. Of course, you can use the same technique to add multiple buttons that do different things. It's completely up to you.

Where Can Buttons Be Placed?

Just as with custom invoice headers and footer text, buttons can appear in the header and/or footer of an invoice. We believe in economy of effort here at PT.Transact :-), so here are the same images we used in the previous article showing where this is on emailed invoices:

 And online invoices:

 

What Does an Invoice Button Look Like?

PT.Transact+ allows you to customise the text, colour and size of a button. Here's what our example Facebook button will look like once we're done. We've added our example button to the bottom of our invoices:

 

 

Adding Buttons To Your Invoice Headers and Footers

In PT.Transact+, tap the Menu button at the top-left of the screen, then select Settings. In Settings, tap Invoice Settings, then either Invoice Header Text or Invoice Footer Text.

As you might expect, anything you enter in Invoice Header Text appears at the top of invoices, and anything you enter in Invoice Footer Text appears at the bottom.

For our example, we're adding a button to our invoice footer, so tap Invoice Footer Text.

 

Anatomy of an Invoice Button

When adding a button to an invoice, you can define its background colour, the text that appears on it, how wide it should be, and finally what web site your client should be taken to when they click it.

Of the four properties, only text is mandatory. You can omit the colour and width, and let PT.Transact automatically calculate how wide the button should be and what the colour should be (which will always be the "PT.Transact Blue" colour). The fourth property-- the web site-- is also optional, but you should include it because if you don't, the button will do nothing when it is clicked.

 

How to Add a Button

PT.Transact uses a tag-based system to add buttons. Here's an example tag to add a button that says "Hello PT.Transact!":

[button="Hello PT.Transact!;http://www.pttransact.com" button]

This is what the button looks like with this tag entered:

In this example, we've supplied both the text and the web site URL. These two properties are entered inside a pair of quotation marks (""), and are separated by a semi-colon (;). The order that properties are entered is very important.

The order that you must enter properties are:

 

  1. Button text (any text you want).
  2. Web site URL (must be a valid web site address, starting with either http://, https:// or www.).
  3. Button width (a whole number, such as 250).
  4. Button background colour (a valid HTML-compliant colour code, such as #8a2be2).

 

For our small example above, you can see we've entered properties #1 & #2 (text and URL). We skipped #3 & #4, as we're happy with PT.Transact using the defaults.

This leads to a particular problem. What if you want to supply a custom colour to the button but not the width? In this case, just enter 0 as the width, which is tantamount to asking PT.Transact to calculate an appropriate width for you.

 

Now let's add our Facebook button.

In this example, we're going to enter all four properties so you can see how it looks. Here's the full button tag to enter:

[button="LIKE ON FACEBOOK;http://facebook.com/pttransact;200;#3E96F0" button]

The four properties entered above are:

  1. Text: "LIKE ON FACEBOOK". For added emphasis, we've put it all in caps (shouting!).
  2. Web site: "http://facebook.com/pttransact". This is PT.Transact's Facebook page. This is the site that will come up when the button is clicked.
  3. Width: "200". This means "200 pixels" wide. It's sometimes hard to judge how wide the button should be, so it's usually easier to enter "0".
  4. Colour: "#3E96F0". This is the HTML code for PT.Transact Blue. Note the "#" in the code. All HTML colour codes use this.

That's all there is to it!

 

An Important Note about Widths and Long Texts:

Be careful when entering in widths or button texts that are too large. A width may look fine when viewed on an online invoice but may appear distorted on emailed invoices. We generally recommend keeping the text short and succinct, and letting PT.Transact calculate the width. 

You can enter a maximum width of 500. If you enter a value greater than that, PT.Transact will use 500.

 

A Handy Hint for Colours:

Visit http://htmlcolorcodes.com/ for a great tool for finding HTML colour codes. 

 

Need Help?

If you have any questions or experience any difficulties with button tags for your invoices, please don't hesitate to contact PT.Transact's awesome Technical Support team at support@pttransact.com, and they'd be happy to help.

 

 

 

 

 

 

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk