Jump to content

Add Company Logo To Order Form


Guest cinnabar

Recommended Posts

Guest cinnabar

Hope someone can help, (running CC3 Ver.3.0.6)

I would like to add my company logo to the 'pay by cheque order form' - I've added the code (shown in red below as cut and paste from frontpage and tweaked the filename) to the orderform.tpl file and a blank box with no image is shown. I am gd2 enabled, i'm sure i've got the filename and location correct, not sure why image is not showing. I'm not HTML etc literate, more try it and see what happens. This is what i've done.........

</style>

</head>

<body onload="window.print();">

<div style="margin: auto; width: 550px; border: 2px solid #cccccc; background-color:#FFFFFF;">

<table border="0" width="550" align="center" cellpadding="4" cellspacing="0">

<tr>

<!--<td colspan="2" align="left" valign="top" class="copyText"><span style="font-weight: bold;">{VAL_STORE_NAME}</span> <br />

{VAL_STORE_URL}</td>-->

</tr>

<img border="0" src="images/cinnabar1.jpg" width="160" height="127" align="right" hspace="15" vhspace="15" style="float: right">

<tr>

<td align="left" valign="top" class="copyText">

<strong>{LANG_INVOICE_TO}</strong>

<div style="padding: 10px;">

{VAL_INVOICE_NAME}<br/>

{VAL_INVOICE_ADD1}<br/>

{VAL_INVOICE_ADD2}<br/>

{VAL_INVOICE_TOWN}, {VAL_INVOICE_STATE}<br/>

{VAL_INVOICE_POSTCODE}<br/>

{VAL_INVOICE_COUNTRY}</div>

</td> etc, etc.......

P.S. Where in the files is the 'pay by check' wording i'd like to change it to 'Pay by cheque'

Thanx in advance

Gary

Link to comment
Share on other sites

I just checked it out...that is pretty cool. I guess I will have to do it too... :lol: btw thats what makes these forums work..new idea's and sharing them...cool huh?

thanks alot for the great addition...

Link to comment
Share on other sites

Guest cinnabar

I've updated the images in the postal order form to include return buttons back to my site, and to fill the 'dead' white space next to the logo.

It now looks like this.....

POF.jpg

The script looks like this.....

<!-- BEGIN: order_form -->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>{VAL_STORE_URL}</title>

<meta http-equiv="Content-Type" content="text/html; charset={VAL_ISO}" />

<style type="text/css">

<!--

.copyText {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;}

.txtCopyright, a.txtCopyright {color:#FFFFFF; font-size: 6px;}

-->

</style>

</head>

<body onload="window.print();">

<div style="margin: auto; width: 550px; border: 2px solid #cccccc; background-color:#FFFFFF;">

<table border="0" width="550" align="center" cellpadding="4" cellspacing="0">

<!--<tr>

<td colspan="2" align="left" valign="top" class="copyText"><span style="font-weight: bold;">{VAL_STORE_NAME}</span> <br />

{VAL_STORE_URL}</td>

</tr>-->

<tr>

<br>

<img border="0" src="http://mysite/images/logo.jpg" width="160" height="127" align="right" hspace="15" vhspace="15" style="float:right">

<p align="center"><font face="Arial" color="#727272" size="1.5"><br>

<b> Please Print Form<br>

(Auto prompt or 'right click')</b><br>

</font></p>

<p align="center">

<a href="http://mysite/shop">

<img border="0" src="http://www.mysite/images/button_shop.jpg" width="90" height="18"></a><br>

<br>

<a href="http://www.mysite/homepage">

<img border="0" src="http://www.mysite/images/button_homepage.jpg" width="128" height="18"></a></p>

<p align="center"><font face="Arial" color="#727272" size="2"><br>

<b>This is your receipt - Not a tax invoice.<br>

Include your Order ID in any correspondance to us.</b>

</font></p></tr>

<tr>

<td align="left" valign="top" class="copyText">

<strong>{LANG_INVOICE_TO}</strong>

<div style="padding: 10px;">

{VAL_INVOICE_NAME}<br/>

{VAL_INVOICE_ADD1}<br/>

{VAL_INVOICE_ADD2}<br/>

{VAL_INVOICE_TOWN}, {VAL_INVOICE_STATE}<br/>

{VAL_INVOICE_POSTCODE}<br/>

{VAL_INVOICE_COUNTRY}</div>

</td>

Hope this is of some use. I'm not html or css literate, it's a bit belt and braces but I hope it works for you....

Happy form amending...

Gary

Link to comment
Share on other sites

  • 1 month later...
  • 8 months later...

Just look at the code in red text and you will find your answer

Hi, the example is for the "orderForm.tpl" but how about the packing list "print.php"? Where do I put the logo? Thanks.

Link to comment
Share on other sites

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.

×
×
  • Create New...