[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: changing order e-mail subject line
>****** message to minivend-users from Kyle Hayes <kyle540@quicknet.net>
>******
>
>
>How do I change the subject line on the e-mail that is sent on order
>completion? I have changed it so that e-mails are sent to the customer
>with the correct subject line, but anything sent to the ORDERS_TO value
>has the old subject line. I looked in the report page, and I don't see
>anything there that sets the subject. I looked in Order.pm and found a
>lot of stuff that looked like it might be making that page automatically.
>
>What would be ideal would be to suppress that e-mail completely. The
>problem for me is that I have a very different way of generating order
>numbers (they appear as scrambled letters and numbers). This works fine,
>but the minivend user's mailbox is full of messages with subjects like
>"ORDER 267" instead of "Order I3JPD9". The test of the message has the
>correct order number.
>
>Currently, I have e-mail sent to the customer, shipping and the minivend
>user. The last one seems to be automatic and is the one with the wrong
>subject line. All the others work fine. I would prefer to eliminate that
>e-mail altogether. If I could at least get the Subject: line correct, I
>could use it instead of a seperate one to shipping.
>
>I tried not setting ORDERS_TO and MV simply barfs when it gets to that
>stage :-(
>
>Any ideas?
>
>MV 3.14, Linux, Apache
>
>Best,
>Kyle
>
If I remeber correctly the variable for the order subject is
mv_order_subject. You should get the order number with %n.
set mv_order_route on the final submission form (has to be a cgi var) to
anything, and define a Route in your configuration. I don't know how well
this is documented as I have switched from reading docs to the code itself.
cheers, Frank
--
Frank Miedreich
Max-Planck-Institut fuer psychologische Forschung
Leopoldstr. 24 80802 Muenchen +49 89 38602-237