Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
93 lines (87 sloc) 3.53 KB
* =|= Checkout (OPC) - Overall Structure =======================
* Product rows to select in multi-shipping table.
* ==============================================================
{if $opc}
{assign var="back_order_page" value="order-opc.php"}
{assign var="back_order_page" value="order.php"}
{capture name=path}{l s='Your shopping cart'}{/capture}
{include file="$tpl_dir./breadcrumb.tpl"}
<h2 id="cart_title">{l s='Your shopping cart'}</h2>
<p class="warning">{l s='Your new order was not accepted.'}</p>
<script type="text/javascript">
// <![CDATA[
var imgDir = '{$img_dir}';
var authenticationUrl = '{$link->getPageLink("authentication", true)}';
var orderOpcUrl = '{$link->getPageLink("order-opc", true)}';
var historyUrl = '{$link->getPageLink("history", true)}';
var guestTrackingUrl = '{$link->getPageLink("guest-tracking", true)}';
var addressUrl = '{$link->getPageLink("address", true, NULL, "back={$back_order_page}")}';
var orderProcess = 'order-opc';
var guestCheckoutEnabled = {$PS_GUEST_CHECKOUT_ENABLED|intval};
var currencySign = '{$currencySign|html_entity_decode:2:"UTF-8"}';
var currencyRate = '{$currencyRate|floatval}';
var currencyFormat = '{$currencyFormat|intval}';
var currencyBlank = '{$currencyBlank|intval}';
var displayPrice = {$priceDisplay};
var taxEnabled = {$use_taxes};
var conditionEnabled = {$conditions|intval};
var countries = new Array();
var countriesNeedIDNumber = new Array();
var countriesNeedZipCode = new Array();
var vat_management = {$vat_management|intval};
var txtWithTax = "{l s='(tax incl.)'}";
var txtWithoutTax = "{l s='(tax excl.)'}";
var txtHasBeenSelected = "{l s='has been selected'}";
var txtNoCarrierIsSelected = "{l s='No carrier has been selected'}";
var txtNoCarrierIsNeeded = "{l s='No carrier is needed for this order'}";
var txtConditionsIsNotNeeded = "{l s='No terms of service must be accepted'}";
var txtTOSIsAccepted = "{l s='Terms of Service have been accepted'}";
var txtTOSIsNotAccepted = "{l s='Terms of service have not been accepted'}";
var txtThereis = "{l s='There is'}";
var txtErrors = "{l s='error(s)'}";
var txtDeliveryAddress = "{l s='Delivery address'}";
var txtInvoiceAddress = "{l s='Invoice address'}";
var txtModifyMyAddress = "{l s='Modify my address'}";
var txtInstantCheckout = "{l s='Instant checkout'}";
var txtSelectAnAddressFirst = "{l s='Please start by selecting an address'}";
var errorCarrier = "{$errorCarrier}";
var errorTOS = "{$errorTOS}";
var checkedCarrier = "{if isset($checked)}{$checked}{else}0{/if}";
var addresses = new Array();
var isLogged = {$isLogged|intval};
var isGuest = {$isGuest|intval};
var isVirtualCart = {$isVirtualCart|intval};
var isPaymentStep = {$isPaymentStep|intval};
{if $productNumber}
<!-- Shopping Cart -->
{include file="$tpl_dir./shopping-cart.tpl"}
<!-- End Shopping Cart -->
{if $isLogged AND !$isGuest}
{include file="$tpl_dir./order-address.tpl"}
<!-- Create account / Guest account / Login block -->
{include file="$tpl_dir./order-opc-new-account.tpl"}
<!-- END Create account / Guest account / Login block -->
<!-- Carrier -->
{include file="$tpl_dir./order-carrier.tpl"}
<!-- END Carrier -->
<!-- Payment -->
{include file="$tpl_dir./order-payment.tpl"}
<!-- END Payment -->
{capture name=path}{l s='Your shopping cart'}{/capture}
{include file="$tpl_dir./breadcrumb.tpl"}
<h2>{l s='Your shopping cart'}</h2>
<p class="warning">{l s='Your shopping cart is empty.'}</p>