[ic] Add a comments box <textarea> to the checkout page

Jim Balcom interchange-users@lists.akopia.com
Sun Jul 15 17:01:01 2001


On Sun, 15 Jul 2001, Eric wrote:

E>>I'm sure there is an archive somewhere, but I've been unable locate.
E>>I need a comments (textarea) on the checkout page, and delivered in the
E>>email
E>>to the merchant.   I've been able to get it added to checkout.html:
E>><TEXTAREA name="mv_ordercomments" cols="30" rows="10"></TEXTAREA>
E>>
E>>and I added the [mv_ordercomments] to the report page, but I'm missing
E>>something here, like setting a variable or something.  Any ideas?

I found it very simple to do. YMMV

In checkout.html:


  <tr bgcolor="#FF9900">
        <td><font __FFACE__ size="1"><b><font color="#FFFFFF">
Comments:</font></b></font></td>
        <td><font __FFACE__ size="1"><b><font
color="#FF9900">a</font></b></font></td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
  </tr>


<TR>
<TD>Comments: </TD>
<TD><TEXTAREA NAME="comments" ROWS=10 COLS=40></TEXTAREA></TD>
</TR>


In /etc/report: (Put it anywhere you like to see it!)

        Comments: [value comments]

This only goes to me and not to the customer. (That change needs to be
put in another file) Nor does it log the comments anywhere.

As I said: YMMV
-= Jim =-

----------------------------------------------------------------
Jim's Linux-Operated Underground Bomb Shelter

Tagline for Sunday, July 15, 2001 at 17:00 PM:
If you wish work poorly done, pay in advance.

----------------------------------------------------------------
This Linux System has been up 142 hours  

My web page: http://www.idk-enterprises.com
----------------------------------------------------------------