[ic] Order Routing

Nikki Middlesworth interchange-users@interchange.redhat.com
Thu Mar 28 14:39:00 2002


-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Kevin Walsh
Sent: Thursday, March 28, 2002 11:43 AM
To: interchange-users@interchange.redhat.com
Subject: RE: [ic] Order Routing


>
> I am trying to set up my order system where they have the option of not
> emailing in their order and instead they can push a button and go to the
> receipt.html page where they can print the page and fax it in.
>
> I have been trying to reset the mv_order_route value depending on which
> button they click.
>
> And I have also been playing with the order routing in catalog.cfg.
Adding
> a Route print routing:
> 	Route print <<EOF
> 		error_ok		1
> 		attach		0
> 		credit_card	0
> 		default		0
> 		email		""
> 		encrypt		0
> 		errors_to	'__ORDERS_TO__'
> 		receipt		etc/receiptfax.html 	//trying to reroute to a different receipt
> page ---NOT WORKING either!
> 		report		etc/report
> 		individual_track	orders
> 		track		logs/tracking.asc
> EOF
>
> I know I have probably out-thought this whole thing but if anyone has any
> suggestions on how to avoid emailing the order---I would appreciate the
> help!!
>
>
If you are setting the mv_order_route on the checkout page then
make sure you don't have "FormIgnore mv_order_route" in your
catalog.cfg file.  If you do then your value will be ignored.

I would have chosen a simpler approach, as follows:

    1) Keep the routes as standard.


    2) The etc/mail_receipt could be modified to not send an email
       if the order is to be faxed.  I would send the email anyway,
       perhaps with slightly modified text, using [if value fax_order]
       or something.

I follow what you are saying...except how do you modify the mail_receipt to
not send an email.  I can't seem to find the code for where the email is
sent in any of the files in /etc???

Also, just FYI, I commented out the FormIgnore line and it worked as far as
emailing and not emailing depending on which button you pushed but it would
not forward on to the receipt.html page OR my other receiptfax.html page.
Just would refresh the order.html page.

    3) Modify the etc/receipt.html to show different text depending
       upon the payment method, or come up with a scheme to [include]
       a different file for each payment method.

...but that's just me.

Check your FormIgnore directives, as that could be what's stopping
your method from working.

--
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/

_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users