Skip to content

Commit

Permalink
Merge pull request #26242 from tswfi/respect_display_taxes_in_psshopp…
Browse files Browse the repository at this point in the history
…ingcart_modal

Respect display_taxes_label in ps_shoppingcart classic theme template
  • Loading branch information
Progi1984 committed Oct 27, 2021
2 parents 3274b78 + e246435 commit 0cef62d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/classic/modules/ps_shoppingcart/modal.tpl
Expand Up @@ -77,10 +77,10 @@
{/if}

{if !$configuration.display_prices_tax_incl && $configuration.taxes_enabled}
<p><span>{$cart.totals.total.label}&nbsp;{$cart.labels.tax_short}</span>&nbsp;<span>{$cart.totals.total.value}</span></p>
<p><span>{$cart.totals.total.label}{if $configuration.display_taxes_label}&nbsp;{$cart.labels.tax_short}{/if}</span>&nbsp;<span>{$cart.totals.total.value}</span></p>
<p class="product-total"><span class="label">{$cart.totals.total_including_tax.label}</span>&nbsp;<span class="value">{$cart.totals.total_including_tax.value}</span></p>
{else}
<p class="product-total"><span class="label">{$cart.totals.total.label}&nbsp;{if $configuration.taxes_enabled}{$cart.labels.tax_short}{/if}</span>&nbsp;<span class="value">{$cart.totals.total.value}</span></p>
<p class="product-total"><span class="label">{$cart.totals.total.label}&nbsp;{if $configuration.taxes_enabled && $configuration.display_taxes_label}{$cart.labels.tax_short}{/if}</span>&nbsp;<span class="value">{$cart.totals.total.value}</span></p>
{/if}

{if $cart.subtotals.tax}
Expand Down

0 comments on commit 0cef62d

Please sign in to comment.