[ic] hacking report??

Stefan Hornburg interchange-users@icdevgroup.org
Thu May 8 08:29:00 2003


On Wed, 07 May 2003 18:23:03 -0400
localhost <user@example.net> wrote:

> Hello,
> 
> I'm looking for a way to hack the etc/report file to send me an email 
> (to an additional address along with ORDERS_TO) "IF" a certain shipping 
> method was selected.
> 
> Here is the code included for the gpg stuff.
> I figured this might be a good place to start because it calls the local 
> gpg or pgp program somehow.
> 
> ---------------
> [if value mv_credit_card_info]
> [tag    op=mime
>                  interpolate=1
>                  type=application/pgp-encrypted
>                  description="CreditCard_[value mv_order_number]"]
> [value mv_credit_card_info]
> [/tag]
> [/if]
> ---------------
> 
> I guess I would do somthing like:
> 
> [if data shipping-desc == "My Shiping Method"]
> echo test |/bin/mail -s test other@email.address
> [/if]

Use the [email] tag. There are several examples in the demo store.

Bye
	Racke

> 
-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team