Jump to content

Edit History

kdash1228

kdash1228

The Total (in bold) should equal $54.96 (not $51.85).

Here is what I am seeing in the cart-summary-total.tpl file. I can't figure out what needs to change to show the correct Total Amount.

PS1.7.8.2

<div class="card-block cart-summary-totals">
  {block name='cart_summary_tax'}
	<div class="cart-summary-line">
	  <span class="label sub">{$cart.subtotals.tax.label}</span>
	  <span class="value sub">{$cart.subtotals.tax.value}</span>
	</div>
  {/block}

  {block name='cart_summary_total'}
    <div class="cart-summary-line cart-total">
      <span class="label">{$cart.totals.total.label} </span>
      <span class="value">{$cart.totals.total.value}</span>
    </div>
  {/block}
</div>

 

image.png.00d4bce5735df06a8eb216e108f00640.png

kdash1228

kdash1228

The Total (in bold) should equal $54.96 (not $51.85).

Here is what I am seeing in the cart-detailed-total.tpl file. I can't figure out what needs to change to show the correct Total Amount.

PS1.7.8.2

{block name='cart_detailed_totals'}
<div class="cart-detailed-totals">

  <div class="card-block">
    {foreach from=$cart.subtotals item="subtotal"}
      {if $subtotal.value && $subtotal.type !== 'tax'}
        <div class="cart-summary-line" id="cart-subtotal-{$subtotal.type}">
          <span class="label{if 'products' === $subtotal.type} js-subtotal{/if}">
            {if 'products' == $subtotal.type}
              {$cart.summary_string}
            {else}
              {$subtotal.label}
            {/if}
          </span>
          <span class="value">{$subtotal.value}</span>
          {if $subtotal.type === 'shipping'}
              <div><small class="value">{hook h='displayCheckoutSubtotalDetails' subtotal=$subtotal}</small></div>
          {/if}
        </div>
      {/if}
    {/foreach}
  </div>

  {block name='cart_voucher'}
    {include file='checkout/_partials/cart-voucher.tpl'}
  {/block}

  <hr class="separator">

  <div class="card-block">
    <div class="cart-summary-line cart-total">
      <span class="label">{$cart.totals.total.label} {$cart.labels.tax_short}</span>
      <span class="value">{$cart.totals.total.value}</span>
    </div>

    <div class="cart-summary-line">
      <small class="label">{$cart.subtotals.tax.label}</small>
      <small class="value">{$cart.subtotals.tax.value}</small>
    </div>
  </div>

  <hr class="separator">
</div>
{/block}

 

image.png.92327cf51d9da00d772940fe5a3bb06a.png

×
×
  • Create New...