{* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2014 PrestaShop SA * @version Release: $Revision$ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {if !$opc} {assign var='current_step' value='address'} {capture name=path}{l s='Addresses'}{/capture} {assign var="back_order_page" value="order.php"}

{l s='Addresses'}

{include file="$tpl_dir./order-steps.tpl"} {include file="$tpl_dir./errors.tpl"} {include file="$tpl_dir./order-address-multishipping-products.tpl"}
{else} {assign var="back_order_page" value="order-opc.php"}

1 {l s='Addresses'}

{/if}

id_address_invoice == $cart->id_address_delivery}style="display: none;"{/if}> {if $addresses|@count >= 1}

{else} {l s='Add a new address'} {/if}

{l s='Add a new address'}

{if !$opc}
{/if}
{if !$opc}

{if $back} {l s='Continue Shopping'} {else} {l s='Continue Shopping'} {/if}

{else}
{/if} {strip} {if !$opc} {addJsDef orderProcess='order'} {addJsDef currencySign=$currencySign|html_entity_decode:2:"UTF-8"} {addJsDef currencyRate=$currencyRate|floatval} {addJsDef currencyFormat=$currencyFormat|intval} {addJsDef currencyBlank=$currencyBlank|intval} {addJsDefL name=txtProduct}{l s='product' js=1}{/addJsDefL} {addJsDefL name=txtProducts}{l s='products' js=1}{/addJsDefL} {addJsDefL name=CloseTxt}{l s='Submit' js=1}{/addJsDefL} {addJsDefL name=txtSelectAnAddressFirst}{l s='Please start by selecting an address' js=1}{/addJsDefL} {/if} {capture}{if $back}&mod={$back|urlencode}{/if}{/capture} {capture name=addressUrl}{$link->getPageLink('address', true, NULL, 'back='|cat:$back_order_page|cat:'?step=1'|cat:$smarty.capture.default)|escape:'quotes':'UTF-8'}{/capture} {addJsDef addressUrl=$smarty.capture.addressUrl} {capture}{'&multi-shipping=1'|urlencode}{/capture} {addJsDef addressMultishippingUrl=$smarty.capture.addressUrl|cat:$smarty.capture.default} {capture name=addressUrlAdd}{$smarty.capture.addressUrl|cat:'&id_address='}{/capture} {addJsDef addressUrlAdd=$smarty.capture.addressUrlAdd} {addJsDef formatedAddressFieldsValuesList=$formatedAddressFieldsValuesList} {addJsDef opc=$opc|boolval} {capture}

{l s='Your billing address' js=1}

{/capture} {addJsDefL name=titleInvoice}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL} {capture}

{l s='Your delivery address' js=1}

{/capture} {addJsDefL name=titleDelivery}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL} {capture}{l s='Update' js=1}{/capture} {addJsDefL name=liUpdate}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL} {/strip}