Jump to content

Template:Order totals: Difference between revisions

From MidsouthMakers - Memphis Area Hackerpace
Created page with '{| class="wikitable" width="200px" !Savings |${{{savings|0}}} |- !Subtotal |${{{subtotal|0}}} |- !Shipping |${{{shipping|0}}} |- !Total |${{#expr: {{{subtotal|0}}} + {{{shipping|…'
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{{shipping|0}}}|0|'''<font color="red">The shipping has not been added to this order yet, the total is fully accurate.</font>'''}}
{| class="wikitable" width="200px"
{| class="wikitable" width="200px"
!Savings
!Subtotal
|${{{savings|0}}}
 
|${{format price| {{{subtotal|0}}} }}
|-
|-
!Subtotal
!Discounted Subtotal
|${{{subtotal|0}}}
 
|${{format price| {{{discounted|{{{discountedsub|{{{discountedsubtotal|0}}}}}}}}} }}
|-
!Savings Pre Shipping
|${{format price| {{#expr: {{{subtotal|0}}} - {{{discounted|{{{discountedsub|{{{discountedsubtotal|0}}}}}}}}} }} }}
|-
|-
!Shipping
!Shipping
|${{{shipping|0}}}
|${{format price| {{{shipping|0}}} }}
 
|-
|-
!Total
!Total
|${{#expr: {{{subtotal|0}}} + {{{shipping|0}}} }}
|${{format price| {{#expr: {{{discounted|{{{discountedsub|{{{discountedsubtotal|0}}}}}}}}} + {{{shipping|0}}} }} }}
|}<noinclude>
|}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 04:09, 17 October 2010

The shipping has not been added to this order yet, the total is fully accurate.

Subtotal $0.00
Discounted Subtotal $0.00
Savings Pre Shipping $0.00
Shipping $0.00
Total $0.00
[edit] [purge] Template documentation

Usage

{{order totals
|subtotal = 
|discountedsubtotal = 
|shipping = 
}}

Redirects

{{Adafruit totals}}