Help:Admin/email/order receipt
NOTE: This is not actually being used. I decided that it made the system too wiki-dependent, probably slow, and didn't really improve the maintainability of the email code. Better solution (tentatively) is to allow wiki-based editing of small text snippets kept in separate files, which are then transcluded into the code. --Woozle 19:42, 14 September 2010 (EDT) <hide> <let name=action val="@http.get.action" /> <if comp=$action with="render">
<let name=before>START HERE</let> <let name=after>FINISH HERE</let>
<let name=ord-num copy=@http.req.ordnum /> <let name=cust-name copy=@http.req.custname /> <let name=cust-addr-ship copy=@http.req.custaddrship />
</if><else>
<let name=before tag>pre</let> <let name=after tag>/pre</let>
</else>
<let name=out copy=before /> <let name=out append> From: <get name=cust-email /> (<get name=cust-name />) To: orders2024@vbz.net (vbz.net order mgr) Subject: ORDER #<get name=ord-num /> at vbz.net
This is an automatic confirmation email from vbz.net to let you know that we have received your order.
If you have any questions, please contact us:
http://wiki.vbz.net/Contact
Order #: <get name=ord-num /> When : 2024-11-24 16:20
SHIP TO
Customer : <get name=cust-name /> Address : <get name=cust-addr-ship /> Shipping Zone : <get name=cust-addr-zone /> Instructions : <get name=cust-addr-note />
PAYMENT
<if comp=$cust-pay-type with="cc"> </if> <if comp=$cust-pay-type with="ck"> Type: money order Please remember to mail your check or money order to:
vbz.net 122 Pinecrest Road Durham, NC 27705 (USA)
</if>
CONTACT
Email: <get name=cust-email /> Phone: <get name=cust-phone />
WHAT YOU ORDERED
1. Touch the Earth Gently (Large Shortsleeve T-shirt) Catalog #: EC-201-TE/L Price each : 16.86 Shipping each : 0.27 Min. base shipping: 3.20
2. Earth Dance (Large Shortsleeve T-shirt) Catalog #: EC-312-L Price each : 16.86 Shipping each : 0.27 Min. base shipping: 3.20
3. Black Crinkle (Large Longsleeve T-shirt) Catalog #: SD-TD-CR01-LS/L Price each : 20.10 Shipping each : 0.35 Min. base shipping: 3.20
--- TOTALS ---
53.82 = Merchandise total 0.89 = Item shipping total 3.20 = United States s/h package cost
=
57.91 = order total
</let> <let name=out append copy=after /> </hide><echo now var=out />