fan4chevy Posted May 15, 2003 Posted May 15, 2003 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.