Difference between revisions of "Help:Admin/email/order receipt"

From VbzWiki
Jump to navigation Jump to search
(puts content in pre - /pre tags if not rendering)
(more tests; timestamp)
Line 5: Line 5:
 
   <let name=before tag>pre</let>
 
   <let name=before tag>pre</let>
 
   <let name=after tag>/pre</let>
 
   <let name=after tag>/pre</let>
 +
 +
  <let name=ord-num copy=@http.req.ordnum />
 
</if>
 
</if>
 
<let name=out copy=before />
 
<let name=out copy=before />
Line 18: Line 20:
  
 
Order #: <get name=ord-num />
 
Order #: <get name=ord-num />
When  : <get name=timestamp />
+
When  : {{LOCALYEAR}}-{{LOCALMONTH}}-{{LOCALDAY2}} {{LOCALTIME}}
 
===== SHIP TO =====
 
===== SHIP TO =====
 
Customer      : <get name=cust-name />
 
Customer      : <get name=cust-name />
Line 64: Line 66:
 
</let>
 
</let>
 
<let name=out append copy=after />
 
<let name=out append copy=after />
</hide><get name=out />
+
</hide><echo now var=out />

Revision as of 14:39, 12 September 2010

<hide> <let name=action val="@http.get.action" /> <if comp=$action with="render"><let name=doRender val=1 /></if> <if not flag=$doRender>

 <let name=before tag>pre</let>
 <let name=after tag>/pre</let>
 <let name=ord-num copy=@http.req.ordnum />

</if> <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

VBZ.NET has received your online order!

If you have any questions, please contact us:

   http://wiki.vbz.net/Contact

Order #: <get name=ord-num /> When : 2024-11-25 08:31

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 />