X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Displaying sales tax in shopping cart (https://forum.x-cart.com/showthread.php?t=19664)

chinacat 02-01-2006 01:17 PM

Displaying sales tax in shopping cart
 
I've read the manual, I've searched the forum, and I can't find any way to do what I want to do. When an order is being taxed, it shows up in the cart like this:

Subtotal: $17.97
Shipping: $6.36

TOTAL: $24.33

Including:
Sales Tax: $1.38


The sales tax is added to the subtotal, shipping, and total and only appears as a line item below the total. I want the sales tax to be a separate line item, so that the cart displays the untaxed subtotal, the untaxed shipping, the tax, then the total which includes tax. Is there any way to do this? I'm getting pretty good at editing the templates, but I don't know anything about php.

I want the cart to look like this:

Subtotal: $16.95
Shipping: $6.00
Sales Tax: $1.38

TOTAL: $24.33

balinor 02-02-2006 03:34 AM

On your main Taxing system screen, make sure these boxes are un-checked:

Display cart/order totals including tax:
Display a tax rate for each product in cart/order:

chinacat 02-02-2006 04:02 AM

If I do that, then it doesn't charge tax at all.

balinor 02-02-2006 04:07 AM

Sounds like your forumulas are not set correctly. In both the main tax method, and the rate, you should only have ST in the 'Apply to' box. No other boxes should be checked on the rate or the method.

chinacat 02-02-2006 04:20 AM

*sigh* I see now what happened. I thought I had set the tax zone for all products, but I have too many products to select them all at once so it was only applied to some of them. The product in my cart while I was testing just happens to be one that doesn't have it applied, and I didn't realize it because it just isn't obvious when a tax is selected if you only have one tax rate showing.

Thank you for your help.

balinor 02-02-2006 04:23 AM

Fun system sometimes isn't it? :)

pauldodman 02-02-2006 04:55 AM

Not sure if this will help, but it may as it appears you are new to x-cart...
In Admin, Appearance Options, you can set:
Products per page (admin):
make this something like 999999

and then all the products will appear in one go, allowing you to select all and then make a change to 1 that applies to all.

chinacat 02-02-2006 07:10 AM

I've got it set to 9999, and I've got 1800+ products, but it still didn't get all of them for some reason. That's OK, though. Now that I know about it, I updated my local product file generating software to include the tax information and re-uploaded all my products. Problem solved!


All times are GMT -8. The time now is 11:22 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.