diff --git a/themes/default/product.tpl b/themes/default/product.tpl index c7aa80b55..57d465a85 100644 --- a/themes/default/product.tpl +++ b/themes/default/product.tpl @@ -363,6 +363,11 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus
{if $product->show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE} + + {if $product->online_only} +

{l s='Online only'}

+ {/if} +
{if !$priceDisplay || $priceDisplay == 2} {assign var='productPrice' value=$product->getPrice(true, $smarty.const.NULL)} @@ -428,10 +433,6 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus {/if} {*close if for show price*} {/if} - - {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">

@@ -528,10 +529,10 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus {if $accessory.show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}{if $priceDisplay != 1}{displayWtPrice p=$accessory.price}{else}{displayWtPrice p=$accessory.price_tax_exc}{/if}{/if} {l s='View'} {if ($accessory.allow_oosp || $accessory.quantity > 0) AND $accessory.available_for_order AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE} - {l s='Add to cart'} + {l s='Add to cart'} {else} - {l s='Add to cart'} - {if (isset($accessory.quantity_all_versions) && $accessory.quantity_all_versions > 0)}{l s='Product available with different options'}{else}{l s='Out of stock'}{/if} + {l s='Add to cart'} + {if (isset($accessory.quantity_all_versions) && $accessory.quantity_all_versions > 0)}{l s='Product available with different options'}{else}{l s='Out of stock'}{/if} {/if}

diff --git a/themes/default/shopping-cart.tpl b/themes/default/shopping-cart.tpl index 4fe781b09..ff12f90db 100644 --- a/themes/default/shopping-cart.tpl +++ b/themes/default/shopping-cart.tpl @@ -82,8 +82,26 @@ + {if $use_taxes} + {if $priceDisplay} + + {l s='Total products'}{if $display_tax_label} {l s='(tax excl.)'}{/if}{l s=':'} + {displayPrice price=$total_products} + + {else} + + {l s='Total products'}{if $display_tax_label} {l s='(tax incl.)'}{/if}{l s=':'} + {displayPrice price=$total_products_wt} + + {/if} + {else} + + {l s='Total products:'} + {displayPrice price=$total_products} + + {/if} - + {if $use_taxes} {if $priceDisplay} {l s='Total vouchers'}{if $display_tax_label} {l s='(tax excl.)'}{/if}{l s=':'} @@ -94,7 +112,7 @@ {l s='Total vouchers:'} {/if} - + {if $use_taxes} {if $priceDisplay} {displayPrice price=$total_discounts_tax_exc} @@ -107,7 +125,7 @@ - + {if $use_taxes} {if $priceDisplay} {l s='Total gift-wrapping'}{if $display_tax_label} {l s='(tax excl.)'}{/if}{l s=':'} @@ -118,7 +136,7 @@ {l s='Total gift-wrapping:'} {/if} - + {if $use_taxes} {if $priceDisplay} {displayPrice price=$total_wrapping_tax_exc} @@ -133,23 +151,31 @@ {if $use_taxes} {if $priceDisplay} - {l s='Total shipping'}{if $display_tax_label} {l s='(tax excl.)'}{/if}{l s=':'} - {displayPrice price=$shippingCostTaxExc} + {l s='Total shipping'}{if $display_tax_label} {l s='(tax excl.)'}{/if}{l s=':'} + {displayPrice price=$shippingCostTaxExc} {else} - {l s='Total shipping'}{if $display_tax_label} {l s='(tax incl.)'}{/if}{l s=':'} - {displayPrice price=$shippingCost} + {l s='Total shipping'}{if $display_tax_label} {l s='(tax incl.)'}{/if}{l s=':'} + {displayPrice price=$shippingCost} {/if} {else} - {l s='Total shipping:'} - {displayPrice price=$shippingCostTaxExc} + {l s='Total shipping:'} + {displayPrice price=$shippingCostTaxExc} {/if} {if $use_taxes} + + {l s='Total (tax excl.):'} + {displayPrice price=$total_price_without_tax} + + + {l s='Total tax:'} + {displayPrice price=$total_tax} + {if $voucherAllowed}