Shipping tax discount without tax


  • Default avatar
    nazca    
     10 years ago
    0

    Joomla 1.5.15
    Virtuemart 1.1.14
    Using One Page Chechout
    Using AWO Coupon Pro

    Coupon type: shipping, 100%

    When applied, discount is calculated without tax, A example:

    Subtotal: 7,20€
    Shipping: 5,63€
    Payment: 0,00€
    Coupon: -4,65 €
    Total: 8,18€

    Tax is 21%

  • Your avatar
    seyi    
     10 years ago
    0

    Hello,

    What version of AwoCoupon is this?

    Also how is taxes setup in AwoCoupon and in Virtuemart?

    Also can you run a test without one page checkout just to verify this is not where the problem comes from.
  • Default avatar
    nazca    
     10 years ago
    0

    Hi,

    Awocoupon version is 1.5.4

    Awo -> Calculate the discount before tax (Coupons) -> No

    Virtuemart :

    Virtual Tax -> Checked
    Tax mode -> Based on customer address
    Enable multiple tax rates -> unchecked
    subtract payment discount before tax/shipping -> unckecked


  • Your avatar
    seyi    
     10 years ago
    0

    Hello,

    Still cannot produce it.

    Were you able to test without one page checkout on? What was the status?

    Also what shipping extension are you using?
  • Default avatar
    nazca    
     10 years ago
    0

    Ok, ATM I can't disable OPC, in the next days I will test without OPC and then post the results, the shipping extension is the Standard Shipping Module

    Thank you for the fast answer.
  • Your avatar
    seyi    
     10 years ago
    0

    Ok, can you tell me what version of OPC you are using? Is this Rupostel OPC?
  • Default avatar
    nazca    
     10 years ago
    0

    Hi, after disabling OPC (is Rupostel OPC 1.2.355) the problem persist.

    I can trace to see where is calculated the discount, I'm wondering if the correct place to start is /administrator/components/com_awocoupon/helpers/vm_coupon.php

    Some clue?
  • Your avatar
    seyi    
     10 years ago
    0

    Hello,

    Yes, that would be the correct file to look in.

    the processing of the coupon code is done in function process_coupon_code_helper.

    I will be happy to look at it if you can send a private message with temporary ftp and admin access.