Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Here's How I Made "Taxable Goods" The Default


Schmoe

Recommended Posts

I looked through the contributions and the forums for a way to change the default tax class to "Taxable Goods". Unfortunately, I couldn't find anything... so I did it myself :thumbsup:

 

Here's how I made the change on my cart. As always-- USE THIS AT YOUR OWN RISK, and be sure to backup all files before making any changes.

 

 

In catalog/admin/categories.php

Around line 395, find this:

$tax_class_array = array(array('id' => '0', 'text' => TEXT_NONE));

 

 

Replace it with this:

//Change to make Taxable Goods the default
   $tax_class_array = array(array('id' => '1', 'text' => 'Taxable Goods'));
$tax_class_array[] = array('id' => '0', 'text' => TEXT_NONE);
//end change to make Taxable Goods the default

 

That's it! Now, taxable goods is the default when adding a new product. :D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...