Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Categories New Product setting taxable goods default?


fan4chevy

Recommended Posts

Posted

Hey gang,

 

I often find myself forgetting to select taxable goods in the admin categories section for NEW PRODUCTS and am wondering if anyone knows how to have "taxable goods" as the default selection rather than "none" ? This longterm would prevent the mistake of not charging tax on an item that needs it.

 

Here is the code that I think is used for the option:

 

}

 

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

$tax_class_query = tep_db_query("select tax_class_id, tax_class_title from " . TABLE_TAX_CLASS . " order by tax_class_title");

while ($tax_class = tep_db_fetch_array($tax_class_query)) {

$tax_class_array[] = array('id' => $tax_class['tax_class_id'],

'text' => $tax_class['tax_class_title']);

}

 

Thanks,

 

Charles

Archived

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

×
×
  • Create New...