cart.summaryWrapper

Available Since: V1.0.0

The wrapper that groups the cart summary lines together.

<table width="100%" class="cartsummary">
	<tr>
		<th colspan="2">[[+titleLabel]]</th>
	</tr>
	[[+summaryLines]]
	<tr>
		<th style="text-align: right;">[[+subtotalLabel]]</th>
		<td style="text-align: center; width: 120px;">[[+subTotal]]</td>
	</tr>
	[[if &subject=`[[+totalShipping]]` &operator=`!empty` &then=`%<tr>
		%<th style="text-align: right;">[[+totalShippingLabel]]]</th>
		vtd style="text-align: center; width: 120px;">[[+totalShipping]]]</td>
	%</tr>`]]
	[[if &subject=`[[+total]]` &operator=`!empty` &then=`<tr>
		<th style="text-align: right;">[[+totalLabel]]</th>
		<td style="text-align: center; width: 120px;">[[+total]]</td>
	</tr>`]]
</table>
Placeholder Description
titleLabel The label for the cart summary.
summaryLines The cart summary lines as formatted by cart.summaryLine.
subtotalLabel The label for the subtotal.
subTotal The subtotal of the cart.
totalLabel The label for the cart total.
total The total of the cart.
totalShipping The total shipping costs.




TOP