Created
February 19, 2014 16:03
-
-
Save BrennanMiva/9095063 to your computer and use it in GitHub Desktop.
BASK Basket Contents Tab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mvt:if expr="l.settings:basket:empty"> | |
Your shopping basket is currently empty. | |
<p><mvt:item name="cssui_links" param="storefront">Home</mvt:item></p> | |
<mvt:exit /> | |
</mvt:if> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-12"> | |
<h3 class="title"><i class="icon-shopping-cart"></i> Items in your cart [<span class="color">&mvt:global_minibasket:basket_count;</span>]</h3> | |
<br /> | |
<div class="table-responsive"> | |
<table class="table table-striped tcart"> | |
<thead> | |
<tr> | |
<th> </th> | |
<th>Name</th> | |
<th>Quantity</th> | |
<th> </th> | |
<th class="text-right">Unit Price</th> | |
<th class="text-right">Total</th> | |
</tr> | |
</thead> | |
<tbody> | |
<mvt:foreach iterator="item" array="basket:items"> | |
<tr> | |
<mvt:if expr="l.settings:item:imagetypes:main"> | |
<td><a href="&mvt:global:sessionurl;Screen=PROD&Store_Code=&mvta:global:Store_Code;&Product_Code=&mvta:item:code;"><img src="&mvte:item:imagetypes:main;" alt="&mvt:item:name;" title="&mvt:item:name;" /></a></td> | |
<mvt:else> | |
<td> </td> | |
</mvt:if> | |
<td class="item-name"> | |
<a href="&mvt:global:sessionurl;Screen=PROD&Store_Code=&mvta:global:Store_Code;&Product_Code=&mvta:item:code;">&mvt:item:name;</a> | |
<mvt:if expr="l.settings:item:upsold"> | |
(Special Offer) | |
</mvt:if> | |
<mvt:foreach iterator="option" array="item:options"> | |
<br /> | |
<mvt:if expr="l.settings:option:option_id"> | |
&mvt:option:attr_code;: &mvt:option:opt_code; | |
<mvt:elseif expr="NOT ISNULL l.settings:option:data"> | |
&mvt:option:attr_code;: &mvt:option:data; | |
<mvt:elseif expr="NOT ISNULL l.settings:option:data_long"> | |
&mvt:option:attr_code;: &mvt:option:data_long; | |
<mvt:else> | |
&mvt:option:attr_code; | |
</mvt:if> | |
</mvt:foreach> | |
</td> | |
<td> | |
<div class="row"> | |
<mvt:if expr="l.settings:item:upsold"> | |
&mvt:item:quantity; | |
<mvt:else> | |
<form method="post" action="&mvt:global:sessionurl;Screen=BASK" class="form-inline text-center clearfix" role="form"> | |
<input type="hidden" name="Action" value="QNTY" /> | |
<input type="hidden" name="Store_Code" value="&mvte:global:Store_Code;" /> | |
<input type="hidden" name="Basket_Line" value="&mvte:item:line_id;" /> | |
<input type="hidden" name="Old_Screen" value="BASK" /> | |
<input type="hidden" name="Offset" value="&mvte:global:Offset;" /> | |
<input type="hidden" name="AllOffset" value="&mvte:global:AllOffset;" /> | |
<input type="hidden" name="CatListingOffset" value="&mvte:global:CatListingOffset;" /> | |
<input type="hidden" name="RelatedOffset" value="&mvte:global:RelatedOffset;" /> | |
<input type="hidden" name="SearchOffset" value="&mvte:global:SearchOffset;" /> | |
<div class="col-md-8 col-sm-8"> | |
<div class="form-group"> | |
<input type="text" name="Quantity" value="&mvt:item:quantity;" class="form-control text-center" /> | |
</div> | |
</div> | |
<div class="col-md-4 col-sm-4"> | |
<mvt:item name="buttons" param="Update" /> | |
</div> | |
</form> | |
</mvt:if> | |
</div> | |
</td> | |
<td> | |
<mvt:comment> | |
<form method="post" action="&mvt:global:sessionurl;Screen=BASK" class="form-inline hidden-xs" role="form"> | |
<input type="hidden" name="Action" value="RPRD" /> | |
<input type="hidden" name="Store_Code" value="&mvte:global:Store_Code;" /> | |
<input type="hidden" name="Basket_Line" value="&mvte:item:line_id;" /> | |
<input type="hidden" name="Offset" value="&mvte:global:Offset;" /> | |
<input type="hidden" name="AllOffset" value="&mvte:global:AllOffset;" /> | |
<input type="hidden" name="CatListingOffset" value="&mvte:global:CatListingOffset;" /> | |
<input type="hidden" name="RelatedOffset" value="&mvte:global:RelatedOffset;" /> | |
<input type="hidden" name="SearchOffset" value="&mvte:global:SearchOffset;" /> | |
<div class="text-center"> | |
<mvt:item name="buttons" param="Remove" /> | |
</div> | |
</form> | |
</mvt:comment> | |
</td> | |
<td class="text-right"> | |
&mvt:item:formatted_price; | |
<mvt:foreach iterator="option" array="item:options"> | |
<br /> | |
<mvt:if expr="l.settings:option:price"> | |
&mvt:option:formatted_price; | |
<mvt:else> | |
| |
</mvt:if> | |
</mvt:foreach> | |
</td> | |
<td class="text-right"> | |
&mvt:item:formatted_subtotal; | |
<mvt:foreach iterator="option" array="item:options"> | |
<br /> | |
<mvt:if expr="l.settings:option:price"> | |
&mvt:option:formatted_subtotal; | |
<mvt:else> | |
| |
</mvt:if> | |
</mvt:foreach> | |
</td> | |
</tr> | |
</mvt:foreach> | |
<mvt:foreach iterator="charge" array="basket:charges"> | |
<tr class="basket-charges"> | |
<td colspan="4"> </td> | |
<td class="charge-description text-right">&mvt:charge:descrip;:</td> | |
<td class="formatted-charge">&mvt:charge:formatted_disp_amt;</td> | |
</tr> | |
</mvt:foreach> | |
<tr id="basket-totals"> | |
<td colspan="4"> </td> | |
<td class="total-prompt text-right">Total:</td> | |
<td class="formatted-total">&mvt:basket:formatted_total;</td> | |
</tr> | |
</tbody> | |
</table> | |
</div> | |
<div class="row"> | |
<div class="col-md-4 col-md-offset-8"> | |
<div class="pull-right"> | |
<a href="&mvt:global:sessionurl;Screen=SFNT&Store_Code=&mvta:store:code;" class="btn btn-default">Continue Shopping</a> | |
<a href="&mvte:global:secure_sessionurl;Screen=OINF&Store_Code=&mvta:store:code;" class="btn btn-primary">Check Out</a> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment