coupon customer balance apply wont work


  • Default avatar
    RCedge    
     7 years ago
    0

    hi


    if i add coupons to the coupon list and i go to checkout when i click apply next to the customer balance it does nothing its not applying the discount i have in my balance and my balance stays the same how to fix it


  • Your avatar
    seyi    
     7 years ago  last edited 7 years ago
    0

    Can you send me a private message on how to test this out?

    Thanks for the access.  In the end, it was an issue with the cart not being initialized, an issue with later versions of Virtuemart.  You are using a development version though, 3.2.1, you should upgrade to an even number at the very least.  Here is what I did for the fix:

    in www/administrator/components/com_awocoupon/helpers/estore/virtuemart/couponhandler.php, around line 71 is this:
    <?php
            
    if ( version_compare$this->vmversion'3.2.4''>=' ) ) {
    ?>


    I changed it to this
    <?php
            
    if ( version_compare$this->vmversion'3.2.1''>=' ) ) {
    ?>


    And that's it.