• When putting an order in WooCommerce from the backend and applying a coupon, the calculations are wrong:
    Subtotal: $707.30
    50% discount: $321.50
    Total $385.80 (includes $35.07 Tax)

    Correct Calculation should be
    Subtotal: $707.30
    50% discount: $353.65
    Total $353.65 (includes $32.15 Tax)

    I hope someone can point me in the right direction.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Have you tried Deactivating other plugins or add-on. ?

    Thread Starter zinifax

    (@zinifax)

    The only plug in on this side of things is an invoice print program. Thanks. I will try that.

    I don’t think there is an issue with WooCommerce plugin ,as This is very basic feature.

    You can also try to update the woocommerce to latest version and check if your theme has any code meddling with woo commerce.

    hi @zinifax

    Can you show us a screenshot and list what plugins are you using?

    Thread Starter zinifax

    (@zinifax)

    Basically this is what the WooCommerce order confirmation looks like. Not sure how to do do screen shots here.

    Subtotal: $707.30
    Discount: $321.50 ………should be 50%
    Total $385.80 (includes $35.07 Tax)

    The plugin i am using ….aong many others are
    WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels (Pro) by Web Toffee
    WooCommerce Shipping & Tax

    Thank you for your interest. I have escalated to Web Toffee of course days ago and they are yet to come back with a suggestion.

    Can you show me full details of a sample order: how many items are in this order with pricing for each before they are added to arrive at subtotal. Same order without the discount code applied too, please.

    Thread Starter zinifax

    (@zinifax)

    @ashfame.

    Thank you we have got to the bottom of this. My tech guy tells me that a snippet of code was provided by one of our suppliers to work with the invoice program we bought. I was not aware of this code snippet. we deactivated the invoice plug in as well as removing the snippet. Voila. We have the correct result. @jaykpatel your suggestion was excellent.

    We will have a foundation to work with. Thank you.

    @zinifax

    Thread Starter zinifax

    (@zinifax)

    After removing the snippet

    Items Sub Total $643.00
    Coupon $321.50
    GST $32.15
    Order Total $353.65

    Items Sub Total shows as $643.00
    >>>The full price is $707.30 inc GST
    But WooCommerce shows it as $643.00 which is ex GST
    The Coupon is $321.50 which is ex GST

    The GST is $32.15 is half of the $64.30
    Order Total $353.65 includes GST

    I am an accountant by qualification.
    So This is crazy.
    First two numbers are ex GST
    Last two numbers are inc GST

    This is plain ordinary bad coding by the developers.
    I have had my whinge

    @zinifax I am confused by what you wrote. Where does $707.30 comes from? And hard to make out what’s happening.

    Could you provide screenshot of order details, including the product prices and all the related calculation? And then highlight how do you expect it to function instead?

    Also please note, by default, WooCommerce comes with three discount types:

    1) Percentage discounts apply a percentage discount to the entire cart.
    2) Fixed cart discounts apply a fixed amount discount to the entire cart.
    3) Fixed product discounts apply a fixed amount discount to selected products only. The discount is calculated per item and not for the whole cart.

    So please specify the coupon discount type as well.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WooCommerce Order Calculation Incorrect’ is closed to new replies.