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

From VbzWiki
Jump to navigation Jump to search
(testing a bit of code)
(puts content in pre - /pre tags if not rendering)
Line 1: Line 1:
 +
<hide>
 
<let name=action val="@http.get.action" />
 
<let name=action val="@http.get.action" />
<if comp=$action with="render">RENDERING</if><else>regular display</else>
+
<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>
 +
</if>
 +
<let name=out copy=before />
 +
<let name=out append>
 
From: <get name=cust-email /> (<get name=cust-name />)
 
From: <get name=cust-email /> (<get name=cust-name />)
 
To: orders{{CURRENTYEAR}}@vbz.net (vbz.net order mgr)
 
To: orders{{CURRENTYEAR}}@vbz.net (vbz.net order mgr)
Line 56: Line 62:
 
=========
 
=========
 
   57.91 = order total
 
   57.91 = order total
 +
</let>
 +
<let name=out append copy=after />
 +
</hide><get name=out />

Revision as of 13:32, 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>

</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 : <get name=timestamp />

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><get name=out />