[ic] Receipt Email Options, Reformed?

Brendan Crosser-McGay interchange-users@interchange.redhat.com
Fri Mar 1 15:37:00 2002


I just wanted to ask, has anyone come up with a good solution to the problem
of item-options in the
receipt email yet? I am not  adept at perl coding yet, but I have an idea
for a custom IC tag if
someone who IS good with perl could put this idea into motion.

I was thinking that each option attached to an item has three values, I
think that there should be
some kind of sub-loop inside of a [item-list] loop, one that creates options
in any format the admin
wants.  Instead of using:
[item-list]
[item-options report=1 type=display]
[/item-list]

You could use something like this:
[item-list]
[item-option]
<tr><td>
[option-label] - [option-value]
</td></tr>
[/item-option]
[/item-list]

Which would allow people alot more freedom in their positioning of options
and alieve the lot of us
from having to make specific [if-item-modifier] tags for each specific
option we make (in order to display the option how we want).

I hope that makes some sense, hope someone can help me out or give me some
insight into Perl atleast :)

-----------------------------------------
Brendan Crosser-McGay
brendan@paymentonline.com
-----------------------------------------