Class 'awo_free_shipping' not found


  • Default avatar
    andrea0    
     13 years ago
    0

    Hi,
    After installing Awocoupon Pro, if I use a parent coupon and I have an order amount which allows me free shipping by default of virtuemart I get this error:
    Fatal error: Class 'awo_free_shipping'not found in administrator / components / com_awocoupon / assets / virtuemart / ps_coupon_process.php on line 641

    How I can correct this error?
  • Your avatar
    seyi    
     13 years ago
    0

    thanks for pointing out the bug. this will be fixed after version 1.3.1. In that same change line 628:
    <?php
    $valid_shipping_modules 
    array_fill_keys($PSHOP_SHIPPING_MODULES,1);
    ?>


    to this
    <?php
    $valid_shipping_modules 
    = array();
    ?>


    and change line 632
    <?php
    if(class_exists($shipping_module)) $valid_shipping_modules[$shipping_module] = 1;
    ?>


    to this
    <?php
    if(class_exists('awo_'.$shipping_module)) $valid_shipping_modules[$shipping_module] = 1;
    ?>

  • Default avatar
    andrea0    
     13 years ago
    0

    Thank you Seyi....
    you are great!
  • Your avatar
    seyi    
     13 years ago
    0

    fixed in version 1.3.2