osCmax v2.5 User Manual
Results 1 to 8 of 8

Charge additional tax on a per product basis

This is a discussion on Charge additional tax on a per product basis within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; Hi Folks, I have a client who sells tires, and other products. We have run into a situation where we ...

      
  1. #1
    osCMax Testing Team
    Join Date
    May 2006
    Posts
    83
    Rep Power
    12


    Default Charge additional tax on a per product basis

    Hi Folks,

    I have a client who sells tires, and other products. We have run into a situation where we need to charge a disposal tax on just the tires. I have thought about this and researched, but, I have not been able to find any way to charge tax on a per product basis.

    Does anyone have a way to possibly make this happen?

    The only way that I can think of is to create an attribute that has a 2% charge in it, and make that the default and only option, so it is essentially mandatory. The problem I run into with this, is if I don't need to charge the disposal tax for tires that get shipped out of the state, making it zone dependent.

    Thoughts, suggestions?

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Charge additional tax on a per product basis

    Attribute was my first thought ... but ...

    If it is zone dependant then you can only add it in the checkout ... as this is the first point when you know where your shopper is from.

    Perhaps a hack of the zone based shipping module that looks for certain products - you could even try and use the Extra Product Field (hidden in catalog) to load the required field ...

    Regards,
    pgmarshall
    _______________________________

  3. #3
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Default Re: Charge additional tax on a per product basis

    Yep, Zone Table sounds like the way to go...
    In psuedo-code:
    If zone_id = '1' and category_id='7'
    (where 1 = local State & 7 represents all tyres, probably need a series of categories)
    then handling_charge = handling_charge + eco_disposal
    Hosting plans with installation, configuration, contributions, support and maintenance.

  4. #4
    osCMax Testing Team
    Join Date
    May 2006
    Posts
    83
    Rep Power
    12


    Default Re: Charge additional tax on a per product basis

    Would this be added as a new order total module? I also have a MultiGeozone/MultiRate shipping installed that might make a for a more flexible system. I'm just now sure how to go about converting a "shipping module" over to a "tax" module. I have done some modifications of the checkout and order total calculation stream by adding a Local Tax by Zip Code mod, but that was just following instructions. Where would the first insertion point be for this in the checkout process?

  5. #5
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Charge additional tax on a per product basis

    If you have installed a "Local Tax by Zip Code mod" then I would start there. I am sure it would be easier to make a copy of this and then simply add the if product=x to the 2nd zip code tax ...

    Ie. Simply have a tax which is based on Zip Code and Product Id.

    Do you have an URL for the mod?

    Regards,
    pgmarshall
    _______________________________

  6. #6
    osCMax Testing Team
    Join Date
    May 2006
    Posts
    83
    Rep Power
    12


    Default Re: Charge additional tax on a per product basis

    osCommerce Community Add-Ons

    I think I have V1.1a installed. I hadn't thought about adding on to that mod. Now need to figure out how to make the individual tax rate calculate on a per product basis, as right now, everything is on a per order basis.

    To start I could add an extra field into categories.php to handle a secondary tax amount (like 2%), and add a effective tax zone pick box? From there I'm a little fuzzy on where the logic needs to be added to cycle through all of the products in the cart to tack on the extra amount. Where does the tax class get inserted?

    Rather than add more fields into categories.php, would it be possible to create a new tax class to handle this? Something like Non-Taxable, Taxable, Taxable+Disposal? Those seem to be dependent on product rather than a complete order...

  7. #7
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Thumbs up Re: Charge additional tax on a per product basis

    Quote Originally Posted by fourmat View Post
    ...would it be possible to create a new tax class to handle this? Something like Non-Taxable, Taxable, Taxable+Disposal? ...
    Sounds like a plan... would need to tie in with State/Zip Code.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  8. #8
    osCMax Testing Team
    Join Date
    May 2006
    Posts
    83
    Rep Power
    12


    Default Re: Charge additional tax on a per product basis

    I do believe that creating a new tax class will work for this situation. If the disposal tax is applicable for just the state as a whole, and if the state tax is 5%, and the disposal tax is 2%, then I just need to create a new tax class with a 7% tax rate with the name State Tax + Disposal Tax, and apply that to each relevant product. This should be applied in lieu of the standard state tax, which should be applied to other products. I don't believe that the disposal tax is related to a locality by zip code, so there isn't a need to have zip/county tax related to the product level.

    Thanks for helping me through this mental exercise...

Similar Threads

  1. First item Plus additional charge by Zones & for specific categories only (v 1)
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 05-07-2008, 11:10 AM
  2. Replies: 1
    Last Post: 07-08-2007, 01:25 AM
  3. Choosing Shipping Module on a per Item Basis, Doable?
    By prosam in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 11-15-2006, 10:09 AM
  4. Additional Product Fields...
    By RichRodgers.net in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 05-15-2004, 04:46 PM
  5. Product Info / Additional information wanted
    By annea03 in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 09-12-2003, 07:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •