Shipping coupon is not working with Flex2


  • Default avatar
    nicolas4    
     10 years ago
    0

    Hi !

    I have read that you can add "supported modules", so here is my config :

    VM 1.1.9, Joomla 1.5.26 and AWO Coupon 2.3.1 pro, Flex2 shipping.

    I have created a shipping coupon, 100% off shipping cost (which is 8$) if a specific product is in the cart, no shipper selected (in fact, no shipper are listed, so I can't select one).

    When I enter the coupon code in cart, nothing happens, the shipping cost of 8$ is added, no discount.

    Is there a solution to this issue?

    Thanks!
    Nicolas
  • Your avatar
    seyi    
     10 years ago
    0

    Ok, was able to reproduce, another fix is needed.

    in www/admiinistrator/components/com_awocoupon/helpers/estore/virtuemart1/couponhandler, search for this string
    <?php
                    
    'shipping_id'=>$id,
    ?>


    And replace it with this
    <?php
                    
    'shipping_id'=>!empty($id) ? $id : -1,
    ?>


    That should process the shipping coupon code.
  • Default avatar
    nicolas4    
     10 years ago
    0

    Seyi,

    That worked ! Thanks a lot ! :-)
    Nicolas