Parent Coupon Issue after Update


  • Default avatar
    am    
     10 years ago
    0

    I am currently using a parent coupon to provide a free product and free shipping to some of our contest winners. Everything was working fine however after updating to the latest version of AWO Coupon Pro 2.2.8 the checkout is not completing. The total is showing up as $0.00 and I have a payment method setup to handle the $0.00 amount. However once I click the button to submit the order the page loads for a bit and then refreshes back to the same screen and doesn't place the order. I am troubleshooting other things to see what it could be but i'm guessing it has to do with the update since it was working fine before and I haven't made any other changes.

    Im running Virtuemart 2.0.24 any helps is appreciated.

    Thanks
  • Your avatar
    seyi    
     10 years ago
    0

    Hello,

    In www/administrator/components/com_awocoupon/helpers/estore/virtuemart/couponhandler.php, around line 543 is this:
    <?php
            $this
    ->vmcart->getCartPrices(); // triggers taxbill tax
    ?>


    Please change it to this:
    <?php
            $this
    ->vmcart->couponCode $this->vmcoupon_code;
            
    $this->vmcart->getCartPrices(); // triggers taxbill tax
            
    $this->vmcart->couponCode '';
    ?>


    I believe that will fix the problem.
  • Default avatar
    am    
     10 years ago
    0

    Hi Seyi,

    Thanks for the quick response as always. The edit above fixed my issue.