Quoting daniel castro (daniel_castro at hotmail.com):
> Hi list,
>> I have been digging around in order route directive, I am trying to send an
> e-mail to each product vendor saying that an order has been made.
>> For this I found a perl rutine that separates each item and looks at the
> vendor and sets the route for that vendor, like this:
>> [perl table=products]
> my %route;
> my $item;
> foreach $item (@{$Items}) {
> my $code = $item->{code};
> my $keycode = $Tag->data('products', 'vendor', $code);
> $item->{mv_order_route} = $keycode;
> }
> return;
> [/perl]
Or you just do:
AutoModifier :vendor:mv_order_route
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.765.647.1295 tollfree 800-949-1889 <mike at perusion.com>
Experience is what allows you to recognize a mistake the second
time you make it. -- unknown