Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Why does sales tax show up in the price of the item by defau


Rainguy

Recommended Posts

I thought I set up the sales tax for the zone Florida 6% correctly but, whenever I make a product "taxable goods" it automatically adds the tax to the items price. I don't want that to happen but only add the 6% on checkout for Florida customers. What am I missing?

 

Thanks

Link to comment
Share on other sites

Peek in /includes/application_top.php

// customization for the design layout

 define('TAX_DECIMAL_PLACES', 0); // Pad the tax value this amount of decimal places

 define('DISPLAY_PRICE_WITH_TAX', true); // Display prices with tax (true) or without tax (false)

 define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125)

Link to comment
Share on other sites

We have the same problem and I just tried what you pointed out, which seemed simple enough, but when I did it I got an error message.

 

First of all this what the code looks like after I changed it in Appication Top.php:

    // customization for the design layout

 define('TAX_DECIMAL_PLACES', 0); // Pad the tax value this amount of decimal places

 define('DISPLAY_PRICE_WITH_TAX', false); // Display prices with tax (true) or without tax (false)

 define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125)

 

 

This is the error message I now get:

 

Parse error: parse error, unexpected T_LNUMBER in /u213/emartin0/catalog/includes/application_top.php on line 214

 

Fatal error: Failed opening required 'DIR_WS_LANGUAGES/FILENAME_DEFAULT' (include_path='.:/usr/local/php/include') in /u213/emartin0/catalog/default.php on line 33

 

Line 214 reads:

    if (PHP_VERSION  4) {

 

Line 33 reads:

   require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT);

 

You can see the website at http://www.deliciousbouquets.com/catalog

 

PLEASE>>>>Any help would be GREATLY appreciated!

 

James

Link to comment
Share on other sites

// customization for the design layout 

 define('TAX_DECIMAL_PLACES', 0); // Pad the tax value this amount of decimal places 

 define('DISPLAY_PRICE_WITH_TAX', true); // Display prices with tax (true) or without tax (false) 

 define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125)

 

 

this is my code that im using and for some reason the tax is not disappearing.....

 

are there any other ways....

 

these things should be included in the admin area....

Link to comment
Share on other sites

You want to set it to false if you do not what tax to show on the pages.

 

If you have it set to true, like it appears that you do, you will have tax showing in the displayed price. :shock:

Link to comment
Share on other sites

i meant to past this one:

 

// customization for the design layout 

 define('TAX_DECIMAL_PLACES', 0); // Pad the tax value this amount of decimal places 

 define('DISPLAY_PRICE_WITH_TAX', false); // Display prices with tax (true) or without tax (false) 

 define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125)

 

it is set to false but does not show up that way

Link to comment
Share on other sites

The tax isn't being added twice.

 

$137.79 Sub-Total

+ $20.89 UPS GND 1 X 3

------------------------------

= $158.68 Total

"It's a damn poor mind that can only think of one way to spell a word."

-- Andrew Jackson

Link to comment
Share on other sites

actually it is:

 

the actuall price for the product is:

 

$129.99

 

with 6 percent sales take it is

 

$137.79 which is shown properly in the picture as the first price but i dont want that price to be shown like that.....

 

And then the tax is added again taxing the person twice.

 

And then UPS is added.....

 

so thus it is being added twice. The only way i can prevent this from happening is turning the tax module off but i dont want it off. I just wantthe main price of the product to be the price i specify and then have it show the sub-total and then the tax and then the addition for UPS or what ever.

 

And it has been 2 days i have been working on this to no avail.

 

 

Any other suggestions?

Link to comment
Share on other sites

Okay, while I agree that the way everything is shown is confusing and unwanted, you need to double check your math. The tax is not being added twice. It's just being shown again after being added. If they were being taxed twice the total on that screenshot would read $166.48. The problem is that the sub-total is being shown with the tax already included, then the tax is being shown beneath. It is not, however, being added again.

"It's a damn poor mind that can only think of one way to spell a word."

-- Andrew Jackson

Link to comment
Share on other sites

There is a setting either in Application_top.php or configuration.php to turn this off.

 

I believe if you actually add it up, it is only being added in once but displayed in two different ways to make it confusing.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...