Mutiple coupon and gift certificate


  • Default avatar
    poan93    
     12 years ago
    0

    Hello ,

    Recently my cutomer try to use her gift certificate with 100 off coupon but failed.

    Then I tried to use one coupon or two coupons(with ; ) or only gift certificate. They all work fine.

    What is the problem could be for this? Why I can not mix gift certificate with coupons?

    Can you kindly help? Thanks
  • Your avatar
    seyi    
     12 years ago
    0

    Yes, I was able to duplicate the problem. This will be fixed after 1.4.1, but in the mean time you can fix it by opening
    www/administrator/components/awocoupon/assets/virtuemart/ps_coupon_process.php, on line 190 you should see this
    <?php
        
    AND function_type2!="parent"
    ?>


    change it to
    <?php
        
    AND (function_type2!="parent" OR function_type2 IS NULL)
    ?>
  • Default avatar
    poan93    
     12 years ago
    0

    Thanks Seyi for your prompt response!

    It works now.

    I got 100 coupon and 4000 gift certificate. As I input both of them for 900 sales amount, there is a total of -100.

    It is supposed that 900 -100(coupon value) fisrt and gift certificate will pay the rest 800.

    Can you help?

    Thanks

    Larry Lin

  • Your avatar
    seyi    
     12 years ago
    0

    on closer look, it is more complicated than I thought. I will send you a PM with more.
  • Default avatar
    hatak    
     9 years ago
    0

    This comment has been moved here.