• Resolved hunio

    (@hunio)


    Hi there,

    Thanks for the great plugin.
    I just found that the email showing incorrect amount when you use a fixed cart amount coupon. I have set prices inclusive of tax.

    This is steps to reproduce:
    1. Create a product $50 (include tax)
    2. Create a $15 fixed cart discount coupon

    On the email, I got this amount: $36.36

    After trying to do a research I found this on wcal_send_email.php line 300
    $item_subtotal = $item_subtotal + $v->line_total + $v->line_subtotal_tax;

    I think it should be :
    $item_subtotal = $item_subtotal + $v->line_total + $v->line_tax;

    Can you please have a look?

    Thanks,
    Pras

    • This topic was modified 6 years, 10 months ago by hunio. Reason: change discount amount
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor chetnapatel

    (@chetnapatel)

    Hi Pras,

    Thank you for your detailed information and looking into the code of our plugin.

    I will check the issue and replicate the same at our end. I will apply the proper fix for it in our plugin. I will get back to you with an update.

    Thank you again for pointing out the issue.

    Regards,
    Chetna Bhutka

    Thread Starter hunio

    (@hunio)

    Hello, any update on this issue?

    Thanks,
    Pras

    Plugin Contributor chetnapatel

    (@chetnapatel)

    Hi Pras,

    I am extremely sorry for the delay in getting back.

    Yes, I was able to replicate this issue in our plugin and we will be adding this in the next plugin update.

    I will inform on this support forum once we will release the plugin.

    Regards,
    Chetna Bhutka

    Thread Starter hunio

    (@hunio)

    Hi Chetna,

    Thank you for getting back. Also if I can made a request, would be good if you can add a filter for image that appear on the email that would be great.

    Thanks a heap.

    Cheers,
    Pras

    Plugin Contributor chetnapatel

    (@chetnapatel)

    Hi Pras,

    We can consider your request. But if you don’t mind can I know the reason why you would like to give the filter on product image?

    Regards,
    Chetna Bhutka

    Thread Starter hunio

    (@hunio)

    Hi Chetna,

    My project doesn’t stored the image on it hosting. It just pull from another third party CDN and store the image URL as custom field on the WP side. ??

    Thanks

    Plugin Contributor chetnapatel

    (@chetnapatel)

    Hi Pras,

    Thank you for letting know us.

    Can you drop your email support at tychesoftwares dot freshdesk dot com email address? So, we can further communicate on this and provide you the solution for it.

    Also, regarding the Tax issue, I would like to inform you that the fix is currently in the latest plugin version. So, if you have not updated the plugin then you can upgrade it to the latest version.

    Regards,
    Chetna Bhutka

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Tax Calculation is wrong when using coupon’ is closed to new replies.