pauldid Posted February 28, 2007 Share Posted February 28, 2007 I need to be able to charge a flat rate tax and a percentage rate tax on all cigar sales in an OSC store for customers placing orders from our home state of Washington. The Cigar tax in Washington state is 50 cents per cigar in addition to the regular state sales tax of 8.31 percent (in our county) for all in-state sales. I have searched the entire forum and contributions area for days trying to find a solution to this problem. I looked at the code to see if I could change the OSC files to do this and I keep going round in circles even trying to figure out what code to change. If someone can help me with this I would be willing to pay you for your time. What I need to be able to do is specify a tax rate for three different ways we package our cigars for sale with a corresponding flat tax: Individual - 1 cigar = $.50 added for each of this item type ordered 4-packs - 4 cigars = $2.00 added for each of this item type ordered box/sampler - 20 cigars = $10.00 added for each of this item type ordered Then we can choose the correct tax class for each product type in our store. Then a tax rate for the state sales tax of $.0831 is added to the entire order if the customer is from WA. Thanks in advance for any help with this Link to comment Share on other sites More sharing options...
Guest Posted March 1, 2007 Share Posted March 1, 2007 check the contributions for counties related tax. http://www.oscommerce.com/community/contributions,2956 Not sure if they have a ready package for Washington state if they don't you may have to create the table for it. Other than that setting up the tax zone to cover the state should be sufficient. That will give the state tax. At the product level not sure how you structure your products but you should be able to simply assign the tax class and it should be covered by the zones. ie based on the delivery address for each customer this process is automatic and you should end up with the correct tax values. Link to comment Share on other sites More sharing options...
pauldid Posted March 1, 2007 Author Share Posted March 1, 2007 Seems that you did not understand my post. What I need is a way to impose a FLAT tax on cigar sales so that each cigar is taxed $0.50. I know how to use the percentage based taxing features of OSC but that will do what I need. There is no way to do flat taxes in OSC and no contributions that allow it either. A flat tax is not a percentage based tax which is all that OSC supports in a standard configuration. I need to know how to customize OSC to do this. Please reread my original post to see what I need. Thanks Link to comment Share on other sites More sharing options...
Guest Posted March 1, 2007 Share Posted March 1, 2007 Seems that you did not understand my post. What I need is a way to impose a FLAT tax on cigar sales so that each cigar is taxed $0.50. I know how to use the percentage based taxing features of OSC but that will do what I need. There is no way to do flat taxes in OSC and no contributions that allow it either. A flat tax is not a percentage based tax which is all that OSC supports in a standard configuration. I need to know how to customize OSC to do this. Please reread my original post to see what I need. Thanks I see, so the state tax is fixed. Got it the otherway around. Then in this case go with an order_totals module. Check if something ready exists and if not duplicate say the low order fee to something called county tax say. Then parse the order variable and for each itemxquantity that matches to be of type "cigar" add your .50 cents. Still if the county tax varies you do need what I mention earlier. That was the reason I posted that link because you do not have the various counties (unless you only collect the county tax from people in the county and not elsewhere). As of the capabilities of osc there are no limits really. It's just that time is required to customize a store and so those ready contributions are very helpful even when they do not exactly match the requirements. Link to comment Share on other sites More sharing options...
pauldid Posted March 1, 2007 Author Share Posted March 1, 2007 I see, so the state tax is fixed. Got it the otherway around. Then in this case go with an order_totals module. Check if something ready exists and if not duplicate say the low order fee to something called county tax say. Then parse the order variable and for each itemxquantity that matches to be of type "cigar" add your .50 cents. Still if the county tax varies you do need what I mention earlier. That was the reason I posted that link because you do not have the various counties (unless you only collect the county tax from people in the county and not elsewhere). As of the capabilities of osc there are no limits really. It's just that time is required to customize a store and so those ready contributions are very helpful even when they do not exactly match the requirements. Please reread my original post and only provide me with solutions to this problem that will work to solve the problem. The state tax is not fixed, it is a state tobacco tax charged on in-state sales and the state sales tax also applies. I understand the logic that will solve this problem. I need a coded solution or someone familiar with OSC to help me. I have programmed in many languages, even a little PHP but OSC's file organization and lack of commenting or coherent developer documentation is making it very difficult to even find where to look in the files to add the code to compute and add the tax to the total. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.