{intl l="Your Cart"}

{ifloop rel="cartloop"} {include file="misc/checkout-progress.tpl" step="cart"} {hook name="cart.top"}
{loop type="cart" name="cartloop"} {/loop} {if {cart attr="is_virtual"} != 1} {postage} {assign var="postageAmount" value=$postage } {/postage} {else} {assign var="postageAmount" value=0 } {/if} {$discount={order attr="discount"}} {if $discount > 0} {/if}
  {intl l="Name"} {intl l="Price"} {intl l="Qty"} {intl l="Total"}
{assign var="product_image_url" value=null} {ifloop rel="pse-first-image"} {loop type="product-sale-elements-image" name="pse-first-image" product_sale_elements_id=$PRODUCT_SALE_ELEMENTS_ID limit="1"} {loop type="image" name="product-image" id=$PRODUCT_IMAGE_ID product=$PRODUCT_ID limit="1" width="118" height="85" force_return="true"} {assign var="product_image_url" value=$IMAGE_URL} {/loop} {/loop} {/ifloop} {elseloop rel="pse-first-image"} {loop type="image" name="product-image" product=$PRODUCT_ID limit="1" width="118" height="85" force_return="true"} {assign var="product_image_url" value=$IMAGE_URL} {/loop} {/elseloop} {if $product_image_url} Product #{$LOOP_COUNT} {else} Product #{$LOOP_COUNT} {/if}

{$TITLE}

{intl l="Available"} :
{if $STOCK > 0}
{intl l="In Stock"}
{else} {$errorStock="TRUE"}
{intl l="Out of Stock"}
{/if} {loop type="product_sale_elements" name="ref" id=$PRODUCT_SALE_ELEMENTS_ID}
{intl l="No."}
{$REF}
{/loop} {loop type="attribute_combination" name="product_options" product_sale_elements="$PRODUCT_SALE_ELEMENTS_ID" order="manual"}
{$ATTRIBUTE_TITLE}
{$ATTRIBUTE_AVAILABILITY_TITLE}
{/loop}
{intl l="Remove"}
{ifloop rel="dp"} {loop type="digressive" name="dp" product_id=$PRODUCT_ID quantity=$QUANTITY} {if $IS_PROMO == 1}
{format_money number=$TAXED_PROMO_PRICE}
{intl l="instead of"} {format_money number=$TAXED_PRICE} {else}
{format_money number=$TAXED_PRICE}
{/if} {/loop} {/ifloop} {elseloop rel="dp"}
{format_money number=$REAL_TAXED_PRICE}
{if $IS_PROMO == 1} {intl l="instead of"} {format_money number=$TAXED_PRICE} {/if} {/elseloop}
{if $STOCK <= 500} {else} {/if}
{loop type="attribute_combination" name="product_options" product_sale_elements="$PRODUCT_SALE_ELEMENTS_ID" order="manual"}
{$ATTRIBUTE_AVAILABILITY_TITLE}
{/loop}
{format_money number=$REAL_TOTAL_TAXED_PRICE}
  {form name="thelia.order.coupon"}
{form_hidden_fields} {form_field field='success_url'} {/form_field} {form_field field='error_url'} {/form_field} {form_field field='coupon-code'}
{if $form_error_message}{$form_error_message nofilter}{/if}
{/form_field}
{/form}
  {intl l="Discount incl. taxes"} -{format_money number=$discount}
  {intl l="Total incl. taxes without postage"}
{format_money number={cart attr='total_taxed_price'}}
{intl l="Continue Shopping"} {intl l="Proceed checkout"} {/ifloop} {elseloop rel="cartloop"}
{intl l="Warning"}! {intl l="You have no items in your shopping cart."}
{/elseloop} {hook name="cart.bottom"}