[ic] email receipt

AirDelights.com interchange-users@icdevgroup.org
Mon Sep 23 12:56:01 2002


here is the mail.receipt code I have and bellow is a copy of how it looks in
the email.
any suggestions on how to improve the look?

Quan  Item No.    Description                            Price
Extension
---- ----------- ------------------------------- -------------- ------------
----
[item-list][row 82]
[column width=5 gutter=1 align=right]  [item-quantity] [/column]
[column width=12 gutter=1]  [item-code] [/column]
[column width=32 gutter=1 align=left wrap=1]
[item-description]
[if-modifier size]SIZE-->[item-modifier size][/if-modifier][if-modifier
color] COLOR-->[item-modifier color][/if-modifier]
[/column]
[column width=15 gutter=1 align=r]  [item-price] [/column]
[column width=17 gutter=1 align=r] [item-subtotal] [/column]
[/row]
[if-item-data options o_enable][if-item-data !options o_modular][row 82]
    [column width=5 align=right][/column]
    [column width=12 gutter=1][/column]
    [column width=32 wrap=1 gutter=1][filter op="tabbed decode_entities
compress_space strip"][item-options type=display][/filter][/column]
[/row][/if-item-data][/if-item-data]
[/item-list]
[row 82]
 [column width=5 align=right][/column]
 [column width=12 gutter=1][/column]
 [column width=32 align=R wrap=1 gutter=1][/column]
 [column width=13 gutter=1]SUBTOTAL  [/column]
 [column width=15 gutter=0 align=r][subtotal][/column]
[/row]
[row 82]
 [column width=5 align=right][/column]
 [column width=12 gutter=1][/column]
 [column width=32 align=R wrap=1 gutter=1][/column]
 [column width=15 gutter=1]SHIPPING  [/column]
 [column width=15 align=right gutter=0][shipping][/column]
[/row]
[row 82]
 [column width=5 align=right][/column]
 [column width=12 gutter=1][/column]
 [column width=32 align=R wrap=1 gutter=1][/column]
 [column width=12 gutter=1]ORDER TOTAL[/column]
 [column width=13 align=right gutter=0][total-cost][/column]
[/row]


Quan  Item No.    Description                            Price
Extension
---- ----------- ------------------------------- -------------- ------------
----
  1   401375     AutoFresh Economizer Aerosol           $29.95
$29.95
                 Dispenser

  3   400983      Linen Fresh Aerosol Refill             $6.49
$19.47

  3   400984      Vita Splash Aerosol Refill             $6.49
$19.47

  3   400985      Mountain Spa Aerosol Refill            $6.49
$19.47


                                                 SUBTOTAL
$88.36
                                                 SHIPPING
$6.95
                                                 ORDER TOTAL        $95.31

----- Original Message -----
From: "Paul Jordan" <paul@gishnetwork.com>
To: <interchange-users@icdevgroup.org>
Sent: Monday, September 23, 2002 9:28 AM
Subject: RE: [ic] email receipt


> > I wanted to format my email.receipt.txt so the email receipt would look
> > better. I'm having trouble with the layout of the items ordered on the
> > receipt. Can't seem to get the columns to line up and the word
> > wrap overlaps
> > other columns.
> > Does anyone have any suggestions on how to format the email
> > receipt to look
> > better than the default interchange one?  Please email me a copy of your
> > email.receipt.txt file or paste some code for me to learn from.
> > steve@airdelights.com
> >
>
> Steve, you basically have [row]s that are comprised of columns. Each row
is
> independant of every other row, (not like HTML). So, double check and make
> sure that in each row, the columns, gutters, and alignments are equal to
the
> other similar rows columns, gutters and alignments.
>
> Look at a [row] [/row] like <table> </table>, so they are like SEPARATE
> tables. Also, I am fairly certain that whitespace does matter in this
case.
>
>
> [row 82]
> [column width=4 gutter=1 align=right]  [item-quantity] [/column]
> [column width=11 gutter=1]  [item-code] [/column]
> [column width=24 gutter=1 align=left wrap=1] [item-title][/column]
> [column width=10 gutter=1]  [item-price] [/column]
> [column width=10 gutter=1] [item-subtotal] [/column]
> [/row]
>
>
> HTH
>
> Paul
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users