[ic] email receipt

Paul Jordan interchange-users@icdevgroup.org
Mon Sep 23 13:33: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


Make better use of you space. The QTY column really only needs to be width=2
and no gutter. Your sku column can be a little shorter. I have always found
that both price columns can be shortened also.

Maybe shorten the display of the [item-description], or like me, use
[item-title] instead (usually shorter).

Have you tried altering the widths yet? Also, give up on starting the
subtotal... info on the right, it never works out. Put it on the left, or in
the middle area.

UNTESTED:

[item-list][row 66]
[column width=3 align=right]  [item-quantity] [/column]
[column width=9 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=9 gutter=1 align=r]  [item-price] [/column]
[column width=9 gutter=1 align=r] [item-subtotal] [/column]
[/row]
[if-item-data options o_enable][if-item-data !options o_modular][row 66]
     [column width=3 align=right][/column]
     [column width=9 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 66]
  [column width=41 align=R][/column]
  [column width=15 gutter=1]SUBTOTAL  [/column]
  [column width=9 gutter=0 align=r][subtotal][/column]
[/row]
[row 66]
  [column width=41 align=R][/column]
  [column width=15 gutter=1]SHIPPING  [/column]
  [column width=9 align=right gutter=0][shipping][/column]
[/row]
[row 66]
  [column width=41 align=R][/column]
  [column width=15 gutter=1]ORDER TOTAL[/column]
  [column width=9 align=right gutter=0][total-cost][/column]
[/row]


HTH

Paul