Search the Community
Showing results for tags 'ny'.
Hi everyone, hoping someone can help me figure this out. I recently installed the County Sales Tax by Zip Code mod (http://addons.oscommerce.com/info/1856) found in the contributions section, into my 2.3.1 store. Everything was easy to follow and I was able to update the zip codes to reflect the NY zip codes that I need with no problem. The mod, for what it's purpose is (to apply different tax rate to different zip codes), works great. There is one thing that I need help figuring out, and I'm hoping someone more knowledgeable in PHP can point me in the right direction. My store sells apparel, and in NY State, the current laws require you to charge tax only on clothing that's over $110. Any items under that amount are tax-free. From what I understand (and I could be wrong) this modification seems to apply taxes to ALL purchases that are being delivered to a NY address. I want to figure out the best way to tweak it so that it only charges tax on items that are over $110. I know that you can assign tax classes to products, which will tell OSC what tax rate to apply to each item at checkout, but even when using different classes, they are ALL still being charged tax. If I wanted to add a condition to this coding (something like "IF item price is over $110", or "IF tax class is XYZ"), how would I write it, and where would I be able to insert it? Or if you know a better way to do this, please let me know. I've looked at other tax by zip contributions available, and after trying, this one was the best one for my needs, which was to charge different taxes to different zip codes in NY. Any help would be much appreciated! Chacha