id_address_invoice == $cart->id_address_delivery}style="display: none;"{/if}>
@@ -181,12 +181,12 @@
{l s='Add a new address'}
{/if}
-
-
-
+
- {l s='Add a new address'}
+ » {l s='Add a new address'}
{if !$opc}
diff --git a/themes/default/order-address-product-line.tpl b/themes/default/order-address-product-line.tpl
index 1d52bd7d6..49e3fd7a3 100644
--- a/themes/default/order-address-product-line.tpl
+++ b/themes/default/order-address-product-line.tpl
@@ -33,52 +33,54 @@
{if $product.reference}{$product.reference|escape:'htmlall':'UTF-8'}{else}--{/if}
- {if isset($cannotModify) AND $cannotModify == 1}
- {if $quantityDisplayed == 0 AND isset($customizedDatas.$productId.$productAttributeId)}{$customizedDatas.$productId.$productAttributeId|@count}{else}{$product.cart_quantity-$quantityDisplayed}{/if}
- {else}
- {if isset($customizedDatas.$productId.$productAttributeId) AND $quantityDisplayed == 0}{$product.customizationQuantityTotal} {/if}
- {if !isset($customizedDatas.$productId.$productAttributeId) OR $quantityDisplayed > 0}
-
-
-
-
-
-
-
+ {if isset($cannotModify) AND $cannotModify == 1}
+ {if $quantityDisplayed == 0 AND isset($customizedDatas.$productId.$productAttributeId)}{$customizedDatas.$productId.$productAttributeId|@count}{else}{$product.cart_quantity-$quantityDisplayed}{/if}
+ {else}
+ {if isset($customizedDatas.$productId.$productAttributeId) AND $quantityDisplayed == 0}{$product.customizationQuantityTotal} {/if}
+ {if !isset($customizedDatas.$productId.$productAttributeId) OR $quantityDisplayed > 0}
+
+
+
+
{/if}
+ {/if}
-
-
-
-
- {if $product.id_address_delivery == 0 && $delivery->id == 0}
-
- {/if}
- {l s='New address'}
- {foreach $address_list as $address}
- 0 && $product.id_address_delivery == $address.id_address) || ($product.id_address_delivery == 0 && $address.id_address == $delivery->id)}
- selected="selected"
- {/if}
- >
- {$address.alias}
-
- {/foreach}
- {l s='Ship to an other address'}
-
-
-
+
+
+
+ {if !isset($customizedDatas.$productId.$productAttributeId) OR $quantityDisplayed > 0}
+ {l s='Delete'}
+ {/if}
+
\ No newline at end of file
diff --git a/themes/default/order-carrier.tpl b/themes/default/order-carrier.tpl
index c6c240673..8277dc0e6 100644
--- a/themes/default/order-carrier.tpl
+++ b/themes/default/order-carrier.tpl
@@ -157,25 +157,25 @@
-
- {foreach $option.carrier_list as $carrier}
-
-
- {if $carrier.logo}
-
- {/if}
-
-
- {$carrier.instance->name}
-
-
- {if isset($carrier.instance->delay[$cookie->id_lang])}
- {$carrier.instance->delay[$cookie->id_lang]}
- {/if}
-
-
- {/foreach}
-
+
+ {foreach $option.carrier_list as $carrier}
+
+
+ {if $carrier.logo}
+
+ {/if}
+
+
+ {$carrier.instance->name}
+
+
+ {if isset($carrier.instance->delay[$cookie->id_lang])}
+ {$carrier.instance->delay[$cookie->id_lang]}
+ {/if}
+
+
+ {/foreach}
+
{/foreach}
diff --git a/themes/default/order-payment.tpl b/themes/default/order-payment.tpl
index d3ddab665..36e90cc72 100644
--- a/themes/default/order-payment.tpl
+++ b/themes/default/order-payment.tpl
@@ -160,45 +160,62 @@
{if $use_taxes}
-
- {if $display_tax_label}
- {l s='Total (tax excl.):'}
- {else}
- {l s='Subtotal:'}
+
+ {if $voucherAllowed}
+ {if isset($errors_discount) && $errors_discount}
+
+ {foreach from=$errors_discount key=k item=error}
+ {$error|escape:'htmlall':'UTF-8'}
+ {/foreach}
+
{/if}
+ {/if}
- {displayPrice price=$total_price_without_tax}
-
-
-
- {if $display_tax_label}
- {l s='Total tax:'}
- {else}
- {l s='Estimated Sales Tax:'}
- {/if}
+
+ {l s='Total:'}
+ {displayPrice price=$total_price}
- {displayPrice price=$total_tax}
-
-
-
- {if $display_tax_label}
- {l s='Total (tax incl.):'}
- {else}
- {l s='Total:'}
- {/if}
-
- {displayPrice price=$total_price}
{else}
- {l s='Total:'}
- {displayPrice price=$total_price_without_tax}
+
+ {if $voucherAllowed}
+
+ {if isset($errors_discount) && $errors_discount}
+
+ {foreach from=$errors_discount key=k item=error}
+ {$error|escape:'htmlall':'UTF-8'}
+ {/foreach}
+
+ {/if}
+ {if $voucherAllowed}
+
+ {/if}
+
+ {/if}
+
+
+ {l s='Total:'}
+ {displayPrice price=$total_price_without_tax}
+
{/if}
- {*
- {l s='Remaining amount to be added to your cart in order to obtain free shipping:'}
- {displayPrice price=$free_ship}
- *}
{foreach from=$products item=product name=productLoop}
diff --git a/themes/default/product-list.tpl b/themes/default/product-list.tpl
index 396f3f7ef..d8bb36eea 100644
--- a/themes/default/product-list.tpl
+++ b/themes/default/product-list.tpl
@@ -48,12 +48,12 @@
{if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}
{l s='On sale!'}
{elseif isset($product.reduction) && $product.reduction && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}
{l s='Reduced price!'} {/if}
- {if isset($product.online_only) && $product.online_only}
{l s='Online only!'} {/if}
{if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
{if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if} {/if}
{if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}{if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'}{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}{l s='Product available with different options'}{else}{l s='Out of stock'}{/if} {/if}
+ {if isset($product.online_only) && $product.online_only}
{l s='Online only!'} {/if}
{/if}
{if ($product.id_product_attribute == 0 || (isset($add_prod_display) && ($add_prod_display == 1))) && $product.available_for_order && !isset($restricted_country_mode) && $product.minimal_quantity <= 1 && $product.customizable != 2 && !$PS_CATALOG_MODE}
{if ($product.allow_oosp || $product.quantity > 0)}
@@ -61,7 +61,8 @@
{l s='Add to cart'}
{else}
{l s='Add to cart'}
- {/if} {else}
+ {/if}
+ {else}
{l s='Add to cart'}
{/if}
{/if}
diff --git a/themes/default/product.tpl b/themes/default/product.tpl
index a3da4140c..c7aa80b55 100644
--- a/themes/default/product.tpl
+++ b/themes/default/product.tpl
@@ -156,7 +156,6 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus
-
@@ -233,13 +232,15 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus
{l s='More details'}
{/if}
{if $packItems|@count > 0}
+
{/if}
{/if}
@@ -332,7 +333,7 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus
- {/if}
+ {/if}
quantity <= 0 && !$product->available_later && $allow_oosp) OR ($product->quantity > 0 && !$product->available_now) OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}>
@@ -357,10 +358,6 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus
quantity > $last_qties OR $product->quantity <= 0) OR $allow_oosp OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none"{/if} >{l s='Warning: Last items in stock!'}
-
- {if $product->online_only}
- {l s='Online only'}
- {/if}
@@ -432,7 +429,11 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus
{*close if for show price*}
{/if}
-
quantity <= 0) OR !$product->available_for_order OR (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE} style="display: none;"{/if} id="add_to_cart" class="buttons_bottom_block">
+ {if $product->online_only}
+
{l s='Online only'}
+ {/if}
+
+
quantity > 0) OR !$product->available_for_order OR (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE} style="display: none;"{/if} id="add_to_cart" class="buttons_bottom_block">
{if isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS}{$HOOK_PRODUCT_ACTIONS}{/if}
@@ -446,8 +447,8 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus
{if isset($quantity_discounts) && $quantity_discounts}
-
- {l s='Quantity discount'}
+
@@ -548,53 +549,60 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus
{if isset($product) && $product->customizable}
-