Jump to content

Shopping Cart - Total Is Not Including Taxes


kdash1228

Recommended Posts

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

Edited by kdash1228 (see edit history)
Link to comment
Share on other sites

I just fixed it. The code was using the wrong variable.

It should be using:

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

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...