Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2007
    Posts
    8
    Plugin Contributions
    0

    Default Wrong Tax on Virtual Products with Coupon

    Ok, so this whole tax and coupons thing has been driving me crazy. I've been trying to find out why a few of my products would still calculate tax even though the coupon covered the entire product amount.

    My BIG find is that it has to do with listing the product as a "virtual product, no shipping address required" under the product settings. If you DO NOT mark it as virtual, then the coupon properly calculates and realizes that it no longer needs to charge tax. Below are some examples.


    Virtual Product:

    Subtotal: $10.00
    Discount coupon: - $10.00
    AZ TAX 8.05%: $0.81
    Free Shipping: $0.00
    Total: $0.81

    It should not charge sales tax if the product discount covers the full amount.

    Product is NOT marked Virtual:
    Free Shipping option is chosen when the Shipping window comes up.

    Subtotal: $10.00
    Discount Coupon: - $10.00
    Store Pickup (Walk-in): $0.00
    Total: $0.00

    This is the proper way for it to calculate, but you have to require a shipping method which I don't want to have to do.


    Has anyone found this bug? All of my regular (non-virtual) products calculate everything correctly with a coupon. It's just these virtual products that are giving me a hassle.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Wrong Tax on Virtual Products with Coupon

    Are your Virtual Products Downloads?

    If so, please read through the FAQs on Downloads in this thread at the bottom:
    https://www.zen-cart.com/tutorials/index.php?article=71
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Dec 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Wrong Tax on Virtual Products with Coupon

    Yes, and I found out that a download only product will automatically get free shipping, which is one of the reasons that it mis-calculates the tax. If it skips over the shipping page then for some reason it still wants to calculate the tax based on the full amount even though the coupon covers the full subtotal amount.

    If I choose to have it as a "Special, Product/Download Combo" then it does not skip over the shipping page, and it properly calculates the coupon and tax. The only problem that I see is if for some reason the purchaser doesn't realize that they should have chosen one of our free shipping options because it will automatically choose the lowest calculated shipping.

    Does all of that make sense?

    I'm guessing that it is missing some kind of code, when it skips over the shipping page. Any ideas?

  4. #4
    Join Date
    Dec 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Wrong Tax on Virtual Products with Coupon

    Oh, and I switched them all to be Virtual Products: NO and Always Free Shipping: NO, but it still calculates the tax wrong.

    Changing the Always Free Shipping to Combo forces the shipping page. I have Store Pickup $0.00 as an option. Choosing that and then continuing onto the payment page then shows the correct amount and applying a coupon works perfect as shown in my first post.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Wrong Tax on Virtual Products with Coupon

    What are the settings in your coupon module?
    Admin->Modules->Order Total->Discount Coupons

    and the tax module:
    Admin->Modules->Order Total->Tax

    and your "Basis of Tax" settings in Admin->Configuration->My Store
    - Basis of Product Tax
    - Basis of Shipping Tax
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Dec 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Wrong Tax on Virtual Products with Coupon

    Ok, here are the settings.


    Discount Coupons:
    Sort Order: 280
    Include Shipping: false
    Include Tax: false
    Re-calculate Tax: Standard


    Tax module:
    Installed: true
    Sort Order 300


    I really think that it is something in the code for when it skips the shipping page.

 

 

Similar Threads

  1. Coupon - Calculating tax wrong
    By Davx in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 10 Nov 2010, 04:33 PM
  2. Wrong shipping total when mixing real and virtual products with attributes
    By dcprod in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 7 Jun 2009, 06:04 PM
  3. Coupon::TAX WRONG if without Shipping????
    By webschnecke in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 13 Aug 2008, 08:10 PM
  4. coupon cause tax wrong?
    By applese in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 3 Aug 2007, 06:16 PM

Posting Permissions

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