[ic] order routing

Andreas, Scott Scott.Andreas@learningco.com
Tue, 13 Mar 2001 11:29:18 -0800


Hello IC'ers

Question? I'm trying to figure to figure out a simple way to do some special
order routing. 

Here's the situation...

I'm using the standard IC 4.6.0 check-out page and everything works fine
with normal ordering.

I have a rep who want to have orders for a client emailed only to her
only...not to "Order Entry" as the normal orders are being routed.
ie ( <input type="hidden" name="mv_order_route" value="log main copy_user">

The catalog.cfg has the following directives

ParseVariables Yes
Route log         attach          0
Route log         cybermode       ""
Route log         empty           1
Route log         encrypt         0
Route log         increment       0
Route log         report          etc/log_transaction
Route log         supplant        0
Route log         track           logs/log

Route glenda      attach           0
Route glenda      cybermode        ""
Route glenda      empty            1
Route glenda      encrypt          0
Route glenda      increment        0
Route glenda      supplant         1
Route glenda      email            glendac@ls.learnserv.com
Route glenda      reply             glendac@ls.learnserv.com
Route glenda      track            logs/tracking.asc
Route glenda      individual_track orders
Route glenda      report           etc/report  
Route glenda      receipt          etc/receipt.html    

Route log_entry   attach          0
Route log_entry   cybermode       ""
Route log_entry   empty           1
Route log_entry   encrypt         0
Route log_entry   increment       0
Route log_entry   report          etc/log_entry
Route log_entry   supplant        0
Route log_entry   track           logs/log

Route copy_user   attach          0
Route copy_user   cybermode       ""
Route copy_user   empty           1
Route copy_user   encrypt         0
Route copy_user   increment       0
Route copy_user   report          etc/mail_receipt
Route copy_user   supplant        0
Route copy_user   track           logs/log

# Main route must be last to make default
Route main        attach           0
Route main        credit_card      0
Route main        cybermode        ""
Route main        default          1
Route main        email            '__ORDERS_TO__'
Route main        encrypt          0
Route main        encrypt_program  '__ENCRYPTOR__'
Route main        errors_to        scotta@homer.learnserv.com
Route main        increment        0
Route main        pgp_cc_key       ""
Route main        pgp_key          ""
Route main        receipt          etc/receipt.html
Route main        report           etc/report
Route main        supplant         1
Route main        individual_track orders
Route main        track            logs/tracking.asc

Is what I want the last checkout page to have is if this order is a normal
order than it would perform the
"log main copy_user" order routing directive.

The Rep has "on the fly items"  (not in the products database)
and when the user selects these items the checkout page should have "log
glenda copy_user" as the
order routing directive

Any ideas???

 
J. Scott Andreas :)
IS/Programmer/WebDevelopement
e-mail: scotta@homer.learnserv.com
phone: 1-800-877-9378 ext. 146
fax: (541) 744-2056
      ---    __o
     ---   _-\<,_
      --- (_)/ (_)