Jump to content

Shopping Cart - Total Is Not Including Taxes


kdash1228
 Share

Recommended Posts

Posted (edited)

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)

Share this post


Link to post
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>

 

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More