VAT tax calculation issue.

General ShopSite user discussion

VAT tax calculation issue.

Postby arta!!ack » Wed May 30, 2012 4:44 am

Hi.

I have an issue with the shopsite not calculating the tax in the shopping cart. VAT in our case.
It is a bit hit and miss, sometimes it does and sometimes not.

I can add products to the cart and it does not show the tax, I can then hit recalculate and it does show tax.

in the code examples, I added the products to the cart (did not show tax) then hit the checkout button (next page did not show tax) then hit the back to cart button (now it shows the tax).

I cannot work out what is going on, I am not sure if I read somewhere of an issue similar to this in the knowledge base, but have been unable to find it again.

We are on Pro 10 sp2 r3.1

This first bit of html is from the page source just to show the change if you look where it says VAT the total is zero.

Code: Select all
                   </td>
          <td width="10px">&nbsp;</td>
          <td valign="top">
            <!-- Table for totals, etc. -->
            <table class="totals">
<tr><td class="totals_txt">Subtotal</td>
<td class="totals">£83.39</td>
</tr>
<tr>
<td class="totals_txt">Carriage / Shipping</td>
<td class="totals">£5.95</td>
</tr>
<tr>
<td class="totals_txt">VAT</td>
<td class="totals">£0.00</td>
</tr>
<tr>
<td class="totals_all_txt">Total</td>
<td class="totals_all">£89.34</td>
</tr></table>
<input type=hidden name="tax" value="1">          </td>
        </tr>
      </table>
    </td>
  </tr>

    <tr>
    <td>
 


      </td>




This next bit of page code is the result of going to checkout and returning back to cart. this time we have a value of 17.87 tax.


Code: Select all
                   </td>
          <td width="10px">&nbsp;</td>
          <td valign="top">
            <!-- Table for totals, etc. -->
            <table class="totals">
<tr><td class="totals_txt">Subtotal</td>
<td class="totals">£83.39</td>
</tr>
<tr>
<td class="totals_txt">Carriage / Shipping</td>
<td class="totals">£5.95</td>
</tr>
<tr>
<td class="totals_txt">VAT</td>
<td class="totals">£17.87</td>
</tr>
<tr>
<td class="totals_all_txt">Total</td>
<td class="totals_all">£107.21</td>
</tr></table>
<input type=hidden name="tax" value="1">          </td>
        </tr>
      </table>
    </td>
  </tr>

    <tr>
    <td>
 


      </td>
arta!!ack
 
Posts: 47
Joined: Wed Jun 13, 2007 2:23 am
Location: Lancashire UK

Re: VAT tax calculation issue.

Postby Jim » Wed May 30, 2012 6:09 am

There needs to be a recalculation done in the cart for the tax to properly computed. So make sure that you have a recalculate button or another button that does the recalculation like the Update button on each product. And add some text to instruct the shopper to click the button when an item has been added to the cart. The recalc should happen automatically when they click the checkout button but if they want to see the price in the cart the recalculate needs to be done. You could put in some javascript to force the recalculate each time the page is loaded.


Note that ShopSite 10sp2 was released almost 2 years ago. There have been quite a number of bug fixes and other changes since then including some changes for VAT. I recommend that you have your store updated to the latest version 11sp2 which is currently available for Linux and which should be available for Freebsd sometime next week and for Windows a week or so later.

You can see the new features in the 3 ShopSite 11 releases, 11, 11sp1 and 11sp2 at http://shopsite.com/help/11.2/en-US/new-features.html .
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: VAT tax calculation issue.

Postby arta!!ack » Thu May 31, 2012 1:26 am

Thank you Jim as always.

Arthur.
arta!!ack
 
Posts: 47
Joined: Wed Jun 13, 2007 2:23 am
Location: Lancashire UK


Return to User Forum

Who is online

Users browsing this forum: No registered users and 68 guests