oscommerceuser5 Posted October 2, 2008 Posted October 2, 2008 Hi, I am working on a heavily modified oscommerce. The tax feature is not working, and instead of spending 3 weeks debugging why its not I thought i would just add a certain percent to the order based on the state of the buyer. Only one big question I have spent like 5 hours and cannot find the variable where I can have add the value to / percent of the order + to the total, a makeshift way of doing a tax but this needs to be done asap. Any help here would be great, thanks again
oscommerceuser5 Posted October 2, 2008 Author Posted October 2, 2008 Hate to bump this but if anyone knows anything on this it would be great.
oscommerceuser5 Posted October 3, 2008 Author Posted October 3, 2008 bump again, i really need some help here guys, this is urgent 15 hours straight and i can't seem to find the little thing i am looking for
Kanie Posted October 3, 2008 Posted October 3, 2008 All of the tax functions can be found in 'includes/functions/general.php'. Just search for 'tax' and you should jump straight to the first of 4 functions (tep_get_tax_rate, tep_get_tax_description, tep_add_tax and tep_calculate_tax). You may want to compare your tax functions with the tax functions from an unmodified OSC install to see if there are any differences. You may also want to compare the file 'includes/classes/currencies.php' to see if there are any differences there as well. Even with a heavily modified OSC install these functions and that class file never really need to be changed.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.