<%args> cart <%global> import shoppingcontroller % if cart.is_empty():
There are no items in your shopping cart.
Keep shopping! % return % <&| forms.myc:form, action="cart/", name="cartform" &>
Your Shopping Cart
% index = 0 % for cartitem in cart.items: % index +=1 %
Quantity Item Style Price Per Item Total Price
<& forms.myc:text, value=cartitem.quantity, size=2, name="qty_" + str(index) &> <& common.myc:item_link, item = cartitem.item &> % for variant in cartitem.variants.values(): <% variant.categoryname %>: <% variant.name %> % <& common.myc:price, price = cartitem.get_item_price() &> <& common.myc:price, price = cartitem.get_total_price() &> (remove)
<& forms.myc:button, value="update", cssclass="smallbutton", onclick="cartform.submit()" &>
Total: <& common.myc:price, price = cart.get_total() &>
<<< Continue Shopping Go To Checkout >>>