From dcb982fbb5a9fc3f476fa1a5c1add04bb74a9dbe Mon Sep 17 00:00:00 2001 From: lLefevre Date: Wed, 3 Oct 2012 15:32:32 +0000 Subject: [PATCH] // Small update on shopping-cart.tpl of mobile theme --- themes/default/mobile/shopping-cart.tpl | 398 ++++++++++++------------ 1 file changed, 202 insertions(+), 196 deletions(-) diff --git a/themes/default/mobile/shopping-cart.tpl b/themes/default/mobile/shopping-cart.tpl index 012eb1578..79128a950 100644 --- a/themes/default/mobile/shopping-cart.tpl +++ b/themes/default/mobile/shopping-cart.tpl @@ -1,203 +1,209 @@ -
- {hook h="displayMobileShoppingCartTop"} -
-
- {include file="$tpl_dir./errors.tpl"} +{if isset($empty)} +

{l s='Your shopping cart is empty.'}

+{elseif $PS_CATALOG_MODE} +

{l s='This store has not accepted your new order.'}

+{else} +
+ {hook h="displayMobileShoppingCartTop"} +
+
+ {include file="$tpl_dir./errors.tpl"} -

{l s='List of products'}

- {if isset($products)} -
-
- {hook h="displayMobileShoppingCartBottom"} -
\ No newline at end of file + {/if} +
+
+
+
+

{l s='Voucher'}

+
+ +
+ + +
+
+
+
+
+
+ {if $use_taxes} + {if $priceDisplay} +

{if $display_tax_label}{l s='Total products (tax excl.):'}{else}{l s='Total products:'}{/if}

+

{displayPrice price=$total_products}

+ {else} +

{if $display_tax_label}{l s='Total products (tax incl.):'}{else}{l s='Total products:'}{/if}

+

{displayPrice price=$total_products_wt}

+ {/if} + {else} +

{l s='Total products:'}

+

{displayPrice price=$total_products}

+ {/if} + +
+ {if $use_taxes && $display_tax_label} +

{l s='Total vouchers (tax excl.):'}

+ {else} +

{l s='Total vouchers:'}

+ {/if} + + {if $use_taxes && !$priceDisplay} + {assign var='total_discounts_negative' value=$total_discounts * -1} + {else} + {assign var='total_discounts_negative' value=$total_discounts_tax_exc * -1} + {/if} +

{displayPrice price=$total_discounts_negative}

+
+ +
+

+ {if $use_taxes} + {if $display_tax_label}{l s='Total gift-wrapping (tax incl.):'}{else}{l s='Total gift-wrapping:'}{/if} + {else} + {l s='Total gift-wrapping:'} + {/if} +

+

+ {if $use_taxes} + {if $priceDisplay} + {displayPrice price=$total_wrapping_tax_exc} + {else} + {displayPrice price=$total_wrapping} + {/if} + {else} + {displayPrice price=$total_wrapping_tax_exc} + {/if} +

+
+ + {if $use_taxes} + {if $total_shipping_tax_exc <= 0 && !isset($virtualCart)} +

{l s='Shipping:'}

+

{l s='Free Shipping!'}

+ {else} + {if $priceDisplay} +
+

{if $display_tax_label}{l s='Total shipping (tax excl.):'}{else}{l s='Total shipping:'}{/if}

+

{displayPrice price=$total_shipping_tax_exc}

+
+ {else} +
+

{if $display_tax_label}{l s='Total shipping (tax incl.):'}{else}{l s='Total shipping:'}{/if}

+

{displayPrice price=$total_shipping}

+
+ {/if} + {/if} + {else} +
+

{l s='Total shipping:'}

+

{displayPrice price=$total_shipping_tax_exc}

+
+ {/if} + +

{l s='Total (tax excl.):'}

+

{displayPrice price=$total_price_without_tax}

+ +

{l s='Total tax:'}

+

{displayPrice price=$total_tax}

+ +

{l s='Total:'}

+ {if $use_taxes} +

{displayPrice price=$total_price}

+ {else} +

{displayPrice price=$total_price_without_tax}

+ {/if} +
+
+
+
+ {if $opc && $isLogged && !$isGuest} + {l s='Continue shopping'} + {else} + + {/if} +
+
+
+ {hook h="displayMobileShoppingCartBottom"} +
+{/if} \ No newline at end of file