add tax label with convenience fee and updated cart total hook
This commit is contained in:
@@ -356,7 +356,16 @@
|
||||
</div> -->
|
||||
{if isset($total_convenience_fee)}
|
||||
<div class="layer_cart_row">
|
||||
<strong class="dark">{l s='Convenience Fees' mod='blockcart'}</strong>
|
||||
<strong class="dark">
|
||||
{l s='Convenience Fees' mod='blockcart'}
|
||||
{if $display_tax_label}
|
||||
{if $priceDisplay == 1}
|
||||
{l s='(tax excl.)' mod='blockcart'}
|
||||
{else}
|
||||
{l s='(tax incl.)' mod='blockcart'}
|
||||
{/if}
|
||||
{/if}
|
||||
</strong>
|
||||
<span class="price ajax_cart_convenience_fee pull-right">{convertPrice price=$total_convenience_fee}</span>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -451,6 +451,7 @@
|
||||
color: #459C3D;
|
||||
}
|
||||
#order-opc .cart_total_detail_block .cart_final_total_block {
|
||||
margin-bottom: 0;
|
||||
line-height: 40px;
|
||||
}
|
||||
#order-opc .cart_total_detail_block .cart_final_total_block > .cart_total_values {
|
||||
|
||||
@@ -356,7 +356,16 @@
|
||||
</div> -->
|
||||
{if isset($total_convenience_fee)}
|
||||
<div class="layer_cart_row">
|
||||
<strong class="dark">{l s='Convenience Fees' mod='blockcart'}</strong>
|
||||
<strong class="dark">
|
||||
{l s='Convenience Fees' mod='blockcart'}
|
||||
{if $display_tax_label}
|
||||
{if $priceDisplay == 1}
|
||||
{l s='(tax excl.)' mod='blockcart'}
|
||||
{else}
|
||||
{l s='(tax incl.)' mod='blockcart'}
|
||||
{/if}
|
||||
{/if}
|
||||
</strong>
|
||||
<span class="price ajax_cart_convenience_fee pull-right">{convertPrice price=$total_convenience_fee}</span>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -259,7 +259,6 @@
|
||||
</p>
|
||||
{/if}
|
||||
{if $show_taxes}
|
||||
{hook h="displayCartTotalPriceLabel" type='before_tax'}
|
||||
<p class="cart_total_tax">
|
||||
<span>{l s='Total tax'}</span>
|
||||
<span class="cart_total_values">{displayPrice price=($total_tax)}</span>
|
||||
@@ -289,6 +288,7 @@
|
||||
<hr>
|
||||
<p {if !isset($is_advance_payment) || !$is_advance_payment}class="cart_final_total_block"{/if}>
|
||||
<span class="strong">{l s='Total'}</span>
|
||||
{hook h="displayCartTotalPriceLabel" type='total'}
|
||||
<span class="cart_total_values{if isset($is_advance_payment) && $is_advance_payment} strong{/if}">
|
||||
{if $use_taxes}
|
||||
{displayPrice price=$total_price}
|
||||
@@ -296,9 +296,6 @@
|
||||
{displayPrice price=$total_price_without_tax}
|
||||
{/if}
|
||||
</span>
|
||||
<div class="hookDisplayProductPriceBlock-price">
|
||||
{hook h="displayCartTotalPriceLabel"}
|
||||
</div>
|
||||
</p>
|
||||
{if isset($is_advance_payment) && $is_advance_payment}
|
||||
<hr>
|
||||
@@ -308,10 +305,10 @@
|
||||
</p>
|
||||
<p class="cart_final_total_block">
|
||||
<span class="strong">{l s='Partially Payable Total'}</span>
|
||||
{hook h="displayCartTotalPriceLabel" type='partial'}
|
||||
<span class="cart_total_values">{displayPrice price=$advPaymentAmount}</span>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
{* Check if voucher feature is enabled currently *}
|
||||
{if $voucherAllowed}
|
||||
|
||||
Reference in New Issue
Block a user