RealTimeDesigner Support Network
Wiki Forums Libraries Docs Support RealTimeDesigner Home
Welcome! Log In Create A New Profile

Advanced

Creating Invoices, Mailing Labels and more...

Posted by Admin 
Creating Invoices, Mailing Labels and more...
September 24, 2008 10:51PM
Want to create mailing labels, invoices, packing slips or other forms with data from the RealTimeDesigner?

Well, RTD has had that ability for quite some time, we just didn't recognize it.

By using the EMAIL AND EXPORT TEMPLATES - you can create HTML formatted forms and simply print them. So, instead of creating a formated email, simply create a form that looks like an invoice.... putting the appropriate data elements where they go on the form with other hard coded text.

Here's an example....

Open the EMAIL AND EXPORT TEMPLATES screen in your ADMIN panel. There are 3 main boxes - ORDER TEMPLATES, ITEMS TEMPLATES & SIDES TEMPLATES. Paste the following text into these windows...

ORDER TEMPLATES
-------------------------------------------------
<b>INVOICE # [ORD_NUM]</b><br><br>
<hr>
<br>
<center> RealTimeDesigner</center>
<br><br>
<hr>
<br><br>
<table border=1 cellpadding="10">
[ORD_ITEMSTEMPLATE]
</table>
<br><br>
<hr>
<br>
ORDER TOTAL: [ORD_PRICE]
<br><br>
<center>Thanks for your order!</center>
-------------------------------------------------

ITEMS TEMPLATES

-------------------------------------------------
<tr>
<td>[ITEM_QUANTITY] </td>
<td>[ITEM_PRUDUCT]</td>
<td>
[ITEM_SIDESTEMPLATE]
</td>
<td>[ITEM_UNITPRICE]</td>
<td>[ITEM_TOTALPRICE]</td>
</tr>
-------------------------------------------------
SIDES TEMPLATES
-------------------------------------------------
[SIDES_INCHSIZE_W] x [SIDES_INCHSIZE_H]

-------------------------------------------------


Once you have pasted the above text into the 3 windows you will need to name and save the template entering html as the OUTPUT FILE EXTENSION. Now in the orders screen, view an order and create "EXPORT ORDER WITH TEMPLATE" rusing the newly created template. Open the file in your browser and PRINT.

Notice that the SPECIAL CODES which look like [ORD_PRICE] are references to RTD data - you simply type in the fixed text and paste data SPECIAL CODES - anywhere a SPECIAL CODE appears, it will be replaced by the data within that order.

With a little basic knowledge of HTML, you can get creative with your formatting, including links to logos, etc.

Have fun and be sure to let us know if you find something that will help other users.

Mark smiling smiley



Edited 1 time(s). Last edit at 09/24/2008 10:52PM by Admin.
Re: Creating Invoices, Mailing Labels and more...
February 24, 2010 08:06PM
Alex,

Only today did I discover this trick to create Packing Slips. This has become important to us in that, unlilke PayPal, Google Checkout does not permit the creation of packing slips from within their shopping cart.

Based on your above indications, we're now able to very easily print packing slips directly from RTD.

Again, many thanks for the creation of such a versitile tool.
.

Gift Mugs make great coffee Mug Gifts - www.giftmugs.com
Re: Creating Invoices, Mailing Labels and more...
February 24, 2010 11:11PM
Thanks but... let's give to Caesar what is Caesar's.
The tutorial was written by Mark, not me.

Glad it's making your life easier!
Sorry, only registered users may post in this forum.

Click here to login