 	{{assign var=TotalCartPrice				value=0}}
	{{assign var=ShippingTotalCartPrice		value=0}}
	{{assign var=ProductIDsList				value=''}}
	{{assign var=CartCollection				value=133}}
	{{assign var=CartDetailsCollection		value=134}}
	{{assign var=SessionID   		value=''|sessionid}}
	{{getCollectionByCategory CollectionID=$CartCollection Collection_133_1=$SessionID aditionalFilter=' (Collection_133_5<>"on" or Collection_133_5 IS NULL) ' var=CartData OrderColumn='ID'}}
	{{assign var=CartDataItem value=$CartData[0]}}
	{{assign var=CartID value=$CartDataItem.Collection_133_ID}}
	{{assign var=CouponID value=$CartDataItem.Collection_133_16}}
	{{assign var=CouponDiscountValue value=$CartDataItem.Collection_133_27}}
	{{assign var=MethodID value=$CartDataItem.Collection_133_17}}
	{{assign var=ChoosenZip value=$CartDataItem.Collection_133_30}}
	{{assign var=ChoosenShippingPrice value=$CartDataItem.Collection_133_26}}
	{{assign var=PaymentMethodID value=$CartDataItem.Collection_133_19}}
	{{assign var=ProductsTotalValue value=$CartDataItem.Collection_133_24}}
	{{assign var=CartTotalValue value=$CartDataItem.Collection_133_23}}
	{{assign var=CartTaxValue value=$CartDataItem.Collection_133_25}}
	{{assign var=ChoosenTaxExemption value=$CartDataItem.Collection_133_31}}
	
	{{getCollectionByCategory CollectionID=135 ColumnID='ID' Value=$CouponID var=Coupons OrderColumn='ID'}}
	{{assign var=CouponData value=$Coupons[0]}}
	{{assign var=Coupon value=$CouponData.Collection_135_3}}
	
	{{getCollectionByCategory CollectionID=$CartDetailsCollection ColumnID=1 Value=$CartID var=CartDetails OrderColumn='ID'}}
	
	{{assign var=CartDetailPrefix   	value='Collection_'}}
	{{assign var=CartDetailPrefix   	value=$CartDetailPrefix|concat:$CartDetailsCollection|concat:'_'}}
	{{assign var=CartDetailID 			value=$CartDetailPrefix|concat:'ID'}}
	{{assign var=CartDetailFreeShipping	value=$CartDetailPrefix|concat:'8'}}
	{{assign var=CartDetailName 		value=$CartDetailPrefix|concat:'7'}}
	{{assign var=CartDetailProductID 	value=$CartDetailPrefix|concat:'2'}}
	{{assign var=CartDetailQuantity 	value=$CartDetailPrefix|concat:'3'}}
	{{assign var=CartDetailPriceID 		value=$CartDetailPrefix|concat:'4'}}
	{{assign var=CartDetailPrice 		value=$CartDetailPrefix|concat:'5'}}
	{{assign var=CartDetailPriceDesc 	value=$CartDetailPrefix|concat:'6'}}
	{{assign var=CartDetailTax 	        value=$CartDetailPrefix|concat:'12'}}
	{{assign var=CartDetailOffer 	    value=$CartDetailPrefix|concat:'11'}}
	{{assign var=CartDetailPriceWithDiscount       value=$CartDetailPrefix|concat:'10'}}
		
		<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr>
			<td  class="fill" width="300"><strong>Item</strong></td>
			<td  class="fill"><strong>Qty.</strong></td>
			<td  class="fill"><strong>Unit Price</strong></td>
			<td  class="fill"><strong>Price</strong></td>
		</tr>
		{{foreach from =$CartDetails item=v key=k name=clist}}
			<tr valign="top">
				<td class="item">{{$v.$CartDetailName}} <br/>  {{if $v.$CartDetailOffer neq ''}}<br/>{{$v.$CartDetailOffer}}{{/if}}</td>
				<td class="item">{{$v.$CartDetailQuantity}}</td>
				<td class="item">${{$v.$CartDetailPriceWithDiscount|string_format:'%.2f'}}{{if $v.$CartDetailPriceWithDiscount neq $v.$CartDetailPrice}}<br/>(Regular Price: ${{$v.$CartDetailPrice|string_format:'%.2f'}}){{/if}}</td>
				<td class="item">${{math equation=" x * y " x=$v.$CartDetailQuantity y=$v.$CartDetailPriceWithDiscount format="%.2f"}}</td>
			</tr>
		{{/foreach}}
		<tr>
				<td class="summary" colspan="3" align="right"><strong>Merchandise Value:</strong></td>
				<td class="summary">${{$ProductsTotalValue|string_format:'%.2f'}}</td>
	    </tr>
		<tr>
				<td class="summary" colspan="3" align="right"><strong>Shipping Value:</strong></td>
				<td class="summary">${{$ChoosenShippingPrice|string_format:'%.2f'}}</td>
	    </tr>
		<tr>
				<td class="summary" colspan="3" align="right"><strong>Tax Value:</strong></td>
				<td class="summary">${{$CartTaxValue|string_format:'%.2f'}}</td>
	    </tr>
		{{if $Coupon neq ''}}
			
			<tr>
				<td class="summary" colspan="3" align="right">
				<strong>Coupon Discount Value:</strong>
				</td>
				<td class="summary">${{$CouponDiscountValue|string_format:'%.2f'}}</td>
			</tr>
		{{/if}}	
			<tr>
				<td class="summary" colspan="3" align="right"><strong>Grand Total:</strong></td>
				<td class="summary">${{$CartTotalValue|string_format:'%.2f'}}</td>
			</tr>
		</table>	