Jump to content

Sales tax not listed on invoice


windsurfer

Recommended Posts

There should be tax shown. To show tax:

You have created tax rules that apply.
In admin, Store Settings, Features tab, Misc section, the setting "Disable initial shipping & tax estimates" is not checked, or the customer is logged in and has a Delivery Address.
The product being sold is taxable.

If the above is as it should be, we need to look elsewhere.

Link to comment
Share on other sites

Ok, so the sub-total is 10.95 and Grand Total is 12.37. The difference is 1.42, which is assumed to be the tax.

So, we need to look at the template.

First, however, with CubeCart's debug mode enabled, you should see the '__basket' => 'order_taxes'. You should see an array:
0 =>
  'tax_id' => a number
  'amount' => a number

If there is a tax in the __basket, then we try to find why the template is not showing it.

 

Link to comment
Share on other sites

Hi

I am not sure where i should see the 

 '__basket' => 'order_taxes'. You should see an array:
0 =>
  'tax_id' => a number
  'amount' => a number

If there is a tax in the __basket, then we try to find why the template is not showing it.

But i don't see that. and yes you are correct the difference is the GST/HST at 13%

The debug mode is enabled however.

As you can see that when i select the Expedited shipping it does show the taxes and it calculates properly.

Screenshot_11.png.869253ae8b2a41ee9e0fc73f4de62b75.pngScreenshot_13.png.027b790064dedb7a3658d9d54286fabb.png

Screenshot_10.png

Screenshot_12.png

Link to comment
Share on other sites

Which page ?

Home page, basket, checkout ?

Basket free shipping

__basket' =>

'contents' =>
'0279a0f27b9e3a6398db040f48298ed4' =>
'product_id' => 5
'status' => 1
'live_from' => 0
'product_code' => MEDS8XH010
'quantity' => 1
'description' =>

 

Basket with expedited shipping

__basket' =>

'contents' =>
'0279a0f27b9e3a6398db040f48298ed4' =>
'product_id' => 5
'status' => 1
'live_from' => 0
'product_code' => MEDS8XH010
'quantity' => 1
'description' =>
 
Link to comment
Share on other sites

All pages.

After 'contents' will be 'weight', 'subtotal', 'total_tax', and others, a 'billing_address' and 'delivery_address', 'shipping' (if selected), and 'order_taxes', and any number of other array elements.

 

Link to comment
Share on other sites

__basket' =>

'contents' =>
'0279a0f27b9e3a6398db040f48298ed4' =>
'id' => 5
'quantity' => 1
'digital' => 0
'cost_price' => 0
'option_line_price' => 0
'total_price_each' => 3.00
'description' =>

The previous one was with the free shipping selected

This one is with the expedited shipping selected which does show the sales taxes

__basket' =>

'contents' =>
'0279a0f27b9e3a6398db040f48298ed4' =>
'id' => 5
'quantity' => 1
'digital' => 0
'cost_price' => 0
'option_line_price' => 0
'total_price_each' => 3
'description' =>
Link to comment
Share on other sites

In the Foundation skin template content.checkout.medium-up.php, near lines 91-97, make sure these statements exist:

         {foreach from=$TAXES item=tax}
         <tr>
            <td colspan="4"></td>
            <td>{$tax.name}{$CUSTOMER_LOCALE.mark}</td>
            <td class="text-right">{$tax.value}</td>
         </tr>
         {/foreach}

If your template has these statements, we will next have Smarty show us a diagnostic.

At the very end of the template, add {debug}. Then have CubeCart clear its internal cache.

When you next fetch this checkout page in the browser, you may be asked to allow for a popup window to be shown. Allow this to happen (you may need to make another request for this checkout page.)

Looking through the debug popup, scroll down to near the bottom and look for TAXES in the left pane. The corresponding value in the right pane should show an array of taxes.

Link to comment
Share on other sites

The previous one was with the free shipping selected

This one is with the expedited shipping selected which does show the sales taxes

__basket' =>

'contents' =>
'0279a0f27b9e3a6398db040f48298ed4' =>
'id' => 5
'quantity' => 1
'digital' => 0
'cost_price' => 0
'option_line_price' => 0
'total_price_each' => 3
'description' =>

         {foreach from=$TAXES item=tax}
         <tr>
            <td colspan="4"></td>
            <td>{$tax.name}{$CUSTOMER_LOCALE.mark}</td>
            <td class="text-right">{$tax.value}</td>
         </tr>
         {/foreach}
 

At the very end of the template, add {debug}. Then have CubeCart clear its internal cache.

Do you mean in the content.checkout.medium-up.php  file ?

Link to comment
Share on other sites

Viewing the grey debug section below the checkout page, at the '__basket' => 'contents' array, for each item, there will be the following:

For example:

'product_code' => CC-S1
'product_weight' => 16
'product_width' => 0.0000
'product_height' => 0.0000
'product_depth' => 0.0000
'tax_each' =>
    'tax_id' => 6
    'amount' => 6.75
    'tax_inclusive' =>
    'tax_name' => State (Standard Tax 7.5%)
    'tax_percent' => 7.5000

When editing the product, Pricing tab, have you assigned a Tax Class?

Link to comment
Share on other sites

This item is 3.00. At 13% tax, that should equal 0.39. (Unless there is an option that raises the price.)

Or maybe the Pricing table shown is not for the product you've shown in debug's __basket=>contents.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...