Minimum value not reached


  • Default avatar
    am    
     9 years ago
    0

    I just updated to AwoCoupon 2.3.5 and am getting this error message after the order is placed. "Minimum value not reached"

    The discount applies and shows fine during checkout process, however, once the order is confirmed I get this message.
  • Your avatar
    seyi    
     9 years ago
    0

    Hello,

    What version of AwoCoupon did you upgrade from? What version of Virtuemart are you running?
  • Default avatar
    am    
     9 years ago
    0

    I am running Virtuemart 2.0.24, upgraded from Awo Coupon Pro 2.3.2
  • Your avatar
    seyi    
     9 years ago
    0

    Hello,

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

    <?php
                    
    if(!$is_setting) {
                            
    $option JRequest::getString('option');
                            
    $task JRequest::getString('task');
                            if(
    $option=='com_virtuemart' && $task=='confirm') return; // confirming order, recheck code for validity
                    
    }
    ?>


    Please change it to this:

    <?php
                    
    if(!$is_setting) {
                            
    $option JRequest::getString('option');
                            
    $task JRequest::getString('task');
                            
                            if(
    $option=='com_virtuemart' && $task=='confirm') {
                                    static 
    $is_run false;
                                    if(! 
    $is_run) {
                                            
    $is_run true;
                                            return; 
    // confirming order, recheck code for validity
                                    
    }
                            }
                    }
    ?>
  • Default avatar
    am    
     9 years ago
    0

    Thanks that solved the issue, I have another issue with discount code amounts not showing up correctly after order was submitted. I will try and pinpoint the issue and will let you know if it continues. I think it might have been related to this.
  • Default avatar
    zoray2    
     9 years ago
    0

    This comment has been moved here.