[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ic] Unsure that Route is working


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]

I have set that in the shopping_cart in the check out page, I have set the route in the catalog.cfg, and set the vender field in the products database, but nothing happens, I am not seeing any activity in the logs (sendmail) or anywhere, how can I find out if it is working?

my route is like this:

 Route  carulla      pgp_key       0x67798115
 Route  carulla      email            suppressed
 Route  carulla      reply            suppressed
 Route  carulla      encrypt        1
 Route  carulla      report          etc/report_mail

I am using IC 5.02 with postgres DB on a FC 2.


Thanks all the help is welcome
Daniel


_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.