{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"}
{format_money number=$REAL_TAXED_PRICE}
{if $IS_PROMO == 1} {intl l="instead of"} {format_money number=$TAXED_PRICE} {/if}
{if $STOCK <= 500} {else} {/if}
{format_money number=$REAL_TOTAL_TAXED_PRICE}

{intl l="Estimated shipping "} {if $is_customizable == false} {loop type="country" name="countryLoop" id="$country_id"} {intl l="for"} {$TITLE} {/loop} {/if}

{if $is_customizable}
{intl l="update"}
{/if} {if $delivery_id != 0 }
{intl l="with:"} {loop type="module" name="deliveryLoop" id=$delivery_id}{$TITLE} {/loop}
{else}
{intl l="No deliveries available for this cart and this country"}
{/if}
{format_money number=$postage} - {format_money number=$postage}
  {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"}
{format_money number={cart attr='total_taxed_price'} + $postageAmount}
{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"}