[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] perl in receipt.html
****** message to minivend-users from "Dan E. Jackson III" <danny@intermallamerica.com> ******
I haven't hear of anyone doing that before, but you can do it the other
way around. - dan
Tewfic Kidess wrote:
>
> ****** message to minivend-users from Tewfic Kidess <tewfic@electradigital.com> ******
>
> Hello,
>
> Can we embed perl code in the receipt.html page??? Below is what I have but it doesn't
> seem to run at all. Ideas???
>
> Thanks
>
> ex.
>
> Quan Item No. Title
> 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 align=left gutter=1 wrap=1]
> [perl interpolate=1]
> $mytitle = str_replace("<","<",[item-field title]);
> $mytitle = str_replace(">",">",$mytitle);
> $mytitle = "Title - ".$mytitle;
> return "This is the title $mytitle";
> [/perl]
> [if-modifier size]SIZE-->[item-modifier size][/if-modifier][if-modifier color]
> COLOR-->[item-modifier color][/if-modifier]
> [/column]
> [column width=15 align=right gutter=1][item-price][/column]
> [column width=16 align=right gutter=0][item-subtotal][/column]
> [/row]
>
> Thanks
>
> -
> To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list