[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Order routing
>
>
> Saso
>
> I know I went on about this method, but I still think my latter method was
> better. I assume you mean that you have setup an 'email' column in the
> products table. That may be a bit much, just a letter or number would work
> (to represent the company).
>
> Anyways, if you look in catalog.cfg you will see samples of order routes,
> although you are probably using the 'default' route, if that still exists
in
> your version (I am on 4.8.3)
>
> You will see:
> Route default cascade "log main copy_user"
>
> I say do this:
> Route default cascade "log main copy_user separate"
>
> Then, above it somewhere add:
>
> Route separate <<EOF
> empty 1
> error_ok 1
> encrypt 0
> increment 0
> report etc/separate
> supplant 0
> track logs/log
> EOF
>
>
> Then create etc/separate and do something fancy. It can even be as simple
as
> running through some [item-list]'s filtering per company items and sending
> an email to them. Do this for all companies (indentified by the flag
column
> in products) which BTW needs to be carried on through the checkout
process.
>
> This can all be done using ITL IMO, and that would be the poor mans hack,
> which is what I always do :) If you knew Perl I am sure you could do
> somthing cleaner than iterating through [item-list] a few times.
>
> Paul
>
>
Ok many thanks for this!
I just thought that IC has something allready built in that's why I was
asking :))
Since I'm a bit of PHP fan and know only very basics of Perl I will try your
solution.. Hope I suceed...
Will just follow your instructions bit by bit:)
Regards,
Saso