in

dashCommerce

An ASP.NET Open Source e-Commerce Application

Adding second tax to DB

Last post 11-17-2009 4:50 PM by erict. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 11-13-2009 3:59 PM

    • erict
    • Top 500 Contributor
    • Joined on 10-26-2009
    • Posts 5

    Adding second tax to DB

    I'm planning to add a second tax field to the order item because here in Canada we have two sales taxes that have be kept track of. Before I delve into this modification, does anybody have any opinions on the wisdom of this move? The disadvantage of code modification is that I lock myself into this version (3.2). I've already written a TaxProvider to calculate the taxes appropriately, but I need to keep track of the two taxes throughout. Can anybody tell me if the MettleSystems Tax provider deals with provincial and federal taxes? The tax provider is not currently available, so I can't find any information about it. Thanks for any and all advice. Eric T.
    Filed under: , ,
  • 11-13-2009 9:04 PM In reply to

    Re: Adding second tax to DB

    The dashCommerce Tax provider is being phased out, so there's nothing to see there. You can create your own tax provider and plug it in, which would not lock you into any version of dashCommerce. You can look at all the other "providers" to figure out how to create your own.
    --
    Big Smile ~ Chris

    Open Source = Community = Shared Responsibility = Submit A Patch!
  • 11-17-2009 4:50 PM In reply to

    • erict
    • Top 500 Contributor
    • Joined on 10-26-2009
    • Posts 5

    Re: Adding second tax to DB

    thanks for your reply. My question was more concerned with whether a "commercial-grade" tax provider can handle two separate taxes and where it stores the data. For now I will show the two taxes as one in the Tax database field, and add the two separate tax values as attributes to AdditionalAttributes. Then in the receipt section I can iterate through the orderitems and recover the sums of the individual taxes. That way I don't have to worry about adding another column and all the issues that brings on.
Page 1 of 1 (3 items)