apie Posted May 8, 2013 Share Posted May 8, 2013 I need to be able to set up sales tax for Florida customers by county. I see there is an addon for that here. http://addons.oscommerce.com/info/2046 It was created for 2.2. Will it work with a 2.3.3 store? If not, can anyone help me with what code would need to be change Quote Link to comment Share on other sites More sharing options...
Guest Posted May 8, 2013 Share Posted May 8, 2013 @@apie Yes, it will Chris apie 1 Quote Link to comment Share on other sites More sharing options...
apie Posted May 9, 2013 Author Share Posted May 9, 2013 The instructions state I should replace the following code in includes/classes/order.php. However there is no $tax_address_query in the file (around line 147) $tax_address_query = tep_db_query("select ab.entry_country_id, ab.entry_zone_id from " . TABLE_ADDRESS_BOOK . " ab left join " . TABLE_ZONES . " z on (ab.entry_zone_id = z.zone_id) where ab.customers_id = '" . (int)$customer_id . "' and ab.address_book_id = '" . (int)($this->content_type == 'virtual' ? $billto : $sendto) . "'"); and replace with: $tax_address_query = tep_db_query("select ab.entry_country_id, ab.entry_zone_id, ab.entry_postcode from " . TABLE_ADDRESS_BOOK . " ab left join " . TABLE_ZONES . " z on (ab.entry_zone_id = z.zone_id) where ab.customers_id = '" . (int)$customer_id . "' and ab.address_book_id = '" . (int)($this->content_type == 'virtual' ? $billto : $sendto) . "'"); How should I proceed? Quote Link to comment Share on other sites More sharing options...
apie Posted May 9, 2013 Author Share Posted May 9, 2013 Please ignore the previous post. mod can delete Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.