• Default avatar
    sinaskandary    
     2 years ago
    0

    error 503 appears after submitting the coupon code in shopping cart. The massage will be shown: "Service Unavailable".
    vm 2
    j2.5
  • Your avatar
    seyi    
     2 years ago
    0

    Hello,

    Which version of Virtuemart is this?

    If you disable the AwoCoupon - Virtuemart plugin, do you still get the error?
  • Default avatar
    sinaskandary    
     2 years ago
    0

    It is Virtuemart 2.
    There is no problem in case of virtuemart coupons. Just coupons which are generated in awocoupon returns error. When I disable AwoCoupon-virtuemart I dont get the error, but also coupon doesn´t affect the order price.
  • Default avatar
    sinaskandary    
     2 years ago
    0

    2.0.16
  • Your avatar
    seyi    
     2 years ago
    0

    Thanks for the access to your site. Looking at your Virtuemart version, you are using 2.0.14. And there is a problem with this version on AwoCoupon 2.3.2. Here is the modification that needs to be made:

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


    Change it to this
    <?php
        
    if (version_compare($this->vmversion'2.0.16''>=')) $this->vmcart->getCartPrices(); // triggers taxbill tax
    ?>


    That should fix the problem
  • Default avatar
    sinaskandary    
     2 years ago
    0

    Thank you very much.
    Problem solved
  • Your avatar
    seyi    
     2 years ago
    0

    Great, you are welcome.