[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] order routing
****** message to minivend-users from Mike Heins <mikeh@minivend.com> ******
Quoting jolon (jolon@echelon.nsa.org):
> ****** message to minivend-users from "jolon" <jolon@echelon.nsa.org> ******
>
>
> hi all.
>
> I am setting up order routing to email to seperate fulfillment houses,
> based on whether the item is domestic or foreign.
>
> in my catalog.cfg i have this set up:
>
>
> Route ELS attach 0
> Route ELS receipt etc/receipt.html
> Route ELS report etc/report
> Route ELS email els@thevideogamestore.com
> Route ELS track etc/els_orders
> Route ELS reply service@thevideogamestore.com
> Route ELS increment 0
> Route ELS supplant 0
>
> Route COS attach 0
> Route COS receipt etc/receipt.html
> Route COS report etc/report
> Route COS email cosmo@thevideogamestore.com
> Route COS track etc/cos_orders
> Route COS reply service@thevideogamestore.com
> Route COS increment 0
> Route COS supplant 0
>
>
>
> and by adding
>
> <INPUT TYPE=hidden NAME=mv_order_route VALUE="[item-field route]">
>
> within the [item-list] on final.html, it sends out emails to both places,
> but because it is within the item list, it sends out an email for each item
> ordered to each fulfillment houses. so if 5 imports are ordered, COS gets 5
> full order receipts, with all the items for both fulfillment houses. how
> can i grab this once and have one email for only the items each fulfillment
> house carries?
This is supported, but you have to set the route parameter in the *item*,
not mv_order_route, which applies to all items.
<INPUT TYPE=hidden NAME="[modifier-name mv_order_route]" VALUE="[item-field route">
Or perhaps easier, rename your database field to mv_order_route and add
this in catalog.cfg:
AutoModifier mv_order_route
See the docs for AutoModifier to see what that does.
--
Internet Robotics, 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mikeh@minivend.com>
Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list