Discount is not charged in the cart


  • Default avatar
    rocher    
     11 months ago  last edited 11 months ago
    0

    I created new coupon with 20% discount, but in the cart i see only name, but value of the basket doesn't change.


    Joomla version:3.6.4

    Virtuemart version:3.0.9.6

    screenshot:



  • Your avatar
    seyi    
     11 months ago
    0

    Hello,

    Ok, I was able to reproduce.  Here is how I fixed it, you would need to alter a file through ftp:

    in www/administrator/components/com_awocoupon/helpers/estore/virtuemart/couponhandler.php, around line 60 is this:

    <?php
            
    if(!$is_rupostel_opc && version_compare($this->vmversion'3.0.9''>=')) $this->is_validateprocess true;
    ?>

    Please change it to this:

    <?php
            
    if(!$is_rupostel_opc && version_compare($this->vmversion'3.0.10''>=')) $this->is_validateprocess true;
    ?>

    That should fix it.


  • Default avatar
    rocher    
     11 months ago
    0

    Hello,

    Thank U, but it still doesn't work :(

  • Your avatar
    seyi    
     11 months ago
    0

    Hello,

    Ok, not really sure what is going on then.  Can you send a private message with temp admin and ftp access so I can have a look and debug?
  • Default avatar
    rocher    
     11 months ago
    0

    I updated VM version and now everything work fine :)