{intl l="Check my order"}

{include file="misc/checkout-progress.tpl" step="invoice"} {hook name="order-invoice.top"} {form name="thelia.order.coupon"}
{form_hidden_fields} {form_field field='success_url'} {/form_field} {form_field field='error_url'} {/form_field} {if $form_error}
{$form_error_message}
{/if} {loop type="amp_cart_id" name="cartidloop"} {assign "card_id" $CART_ID} {/loop} {assign "postageAmountTotalEstimation" 0} {loop type="ampseller" name="sellers"} {ifloop rel="amp_cartloop"} {assign "weightTotalSeller" 0} {assign "postageAmountEstimation" 0} {loop type="amp_cart_seller_item" amp_seller_id=$ID cart_id=$card_id name="amp_cartloop"} {assign "quantity" $QUANTITY} {loop type="product_sale_elements" id=$PRODUCT_SALE_ELEMENTS_ID name="productweight"} {assign "weightItems" $WEIGHT*$quantity} {/loop} {assign "weightTotalSeller" $weightTotalSeller+$weightItems} {/loop} {if $weightTotalSeller > 0} {loop type="amp_cart_weight_postage_estimation" weight="$weightTotalSeller" name="amp_cartitempostageestimation"} {assign "postageAmountEstimation" $POSTAGE_AMOUNT} {/loop} {assign "postageAmountTotalEstimation" $postageAmountTotalEstimation+$postageAmountEstimation} {/if} {/ifloop} {/loop}
  {intl l="Name"} {intl l="Price"} {intl l="Taxed Price"} {intl l="Qty"} {intl l="Total"}

{$TITLE}

{assign var="product_image_url" value=null} {ifloop rel="amp-pse-first-image"} {loop type="product-sale-elements-image" name="amp-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="amp-pse-first-image"} {loop type="image" name="amp-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}
{intl l="Out of Stock"}
{/if} {loop type="product_sale_elements" name="amp_ref" id=$PRODUCT_SALE_ELEMENTS_ID}
{intl l="No."}
{$REF}
{/loop} {loop type="attribute_combination" name="amp_product_options" product_sale_elements="$PRODUCT_SALE_ELEMENTS_ID"}
{$ATTRIBUTE_TITLE}
{$ATTRIBUTE_AVAILABILITY_TITLE}
{/loop}
{if $IS_PROMO == 1} {format_money number=$PROMO_PRICE} {else} {format_money number=$PRICE} {/if}
{if $IS_PROMO == 1} {assign "real_price" $PROMO_TAXED_PRICE} {assign "real_total_price" $TOTAL_PROMO_TAXED_PRICE}
{format_money number=$PROMO_TAXED_PRICE}
{intl l="instead of"} {format_money number=$TAXED_PRICE} {else} {assign "real_price" $TAXED_PRICE} {assign "real_total_price" $TOTAL_TAXED_PRICE}
{format_money number=$TAXED_PRICE}
{/if}
{$QUANTITY} {format_money number=$real_total_price}
{intl l="Estimated shipping seller"} {$postageAmountEstimation}
{$discount={order attr="discount"}} {if $discount} {/if} {if {cart attr="is_virtual"} != 1} {/if}
{intl l="Discount"}
{format_money number=$discount}
{form_field field='success_url'} {/form_field} {form_field field='coupon-code'}
{if $error}{$message}{/if}
{/form_field}
{intl l="Shipping Tax"}
{format_money number={order attr="postage"}}
{intl l="Total excl. taxes"}
{format_money number={{cart attr="total_price"} + {order attr="postage"} - {order attr="postage_tax"}}}
{intl l="Total incl. taxes"}
{format_money number={{cart attr="total_taxed_price"} + {order attr="postage"}}}
{hook name="order-invoice.coupon-form"}
{/form} {form name="thelia.order.payment"} {assign var="isPost" value=$smarty.post|count}
{form_hidden_fields} {if $form_error}
{$form_error_message}
{/if}
{ifhook rel="order-invoice.delivery-address"} {* delivery module can customize the delivery address *} {hook name="order-invoice.delivery-address" module={order attr="delivery_module"}} {/ifhook} {elsehook rel="order-invoice.delivery-address"}
{loop type="address" name="delivery-address" id={order attr="delivery_address"}}
{intl l="Delivery address"}
{loop type="title" name="customer.title.info" id=$TITLE}{$SHORT}{/loop} {$LASTNAME|upper} {$FIRSTNAME|ucwords} {$COMPANY}
{$ADDRESS1}
{if $ADDRESS2 != ""} {$ADDRESS2}
{/if} {if $ADDRESS3 != ""} {$ADDRESS3}
{/if} {$ZIPCODE} {$CITY}, {loop type="country" name="customer.country.info" id=$COUNTRY}{$TITLE}{/loop} {if $STATE}, {loop type="state" name="customer.state.info" id=$STATE}{$TITLE}{/loop}{/if}
{/loop}
{/elsehook} {form_field field='invoice-address'}
{intl l="Billing address"}
{if $error} {$message} {/if}
{loop type="address" name="invoice-address"} {assign var="isInvoiceAddressChecked" value="0"} {if $isPost} {if $value == $ID && $value != ""} {assign var="isInvoiceAddressChecked" value="1"} {elseif $DEFAULT} {assign var="isInvoiceAddressChecked" value="1"} {/if} {elseif $DEFAULT} {assign var="isInvoiceAddressChecked" value="1"} {/if}
{/loop}
{/form_field} {form_field field='payment-module'}
{intl l="Choose your payment method"}
{if $error} {$message} {/if}
    {loop type="payment" name="payments" force_return="true"} {assign "paymentModuleId" $ID}
  • {hook name="order-invoice.payment-extra" module={$paymentModuleId}}
  • {/loop}
{/form_field} {form_field field="agreed"}
{if $error } {$message} {/if}
{/form_field} {hook name="order-invoice.payment-form"} {intl l="Back"}
{/form} {hook name="order-invoice.bottom"}